{ "clientLibrary": { "name": "cloud.google.com/go/gkebackup/apiv1", "version": "1.8.0", "language": "GO", "apis": [ { "id": "google.cloud.gkebackup.v1", "version": "v1" } ] }, "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.CancelOperation", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "longrunningpb.CancelOperationRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "client": { "shortName": "BackupForGKEClient", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" }, "method": { "shortName": "CancelOperation", "fullName": "google.longrunning.Operations.CancelOperation", "service": { "shortName": "Operations", "fullName": "google.longrunning.Operations" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 51, "type": "FULL" } ] }, { "regionTag": "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.CreateBackup", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.CreateBackupRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.CreateBackupChannel", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.CreateBackupChannelRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.CreateBackupPlan", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.CreateBackupPlanRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.CreateRestore", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.CreateRestoreRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.CreateRestoreChannel", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.CreateRestoreChannelRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.CreateRestorePlan", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.CreateRestorePlanRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.DeleteBackup", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.DeleteBackupRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 56, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.DeleteBackupChannel", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.DeleteBackupChannelRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 56, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.DeleteBackupPlan", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.DeleteBackupPlanRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 56, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.DeleteOperation", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "longrunningpb.DeleteOperationRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "client": { "shortName": "BackupForGKEClient", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient" }, "method": { "shortName": "DeleteOperation", "fullName": "google.longrunning.Operations.DeleteOperation", "service": { "shortName": "Operations", "fullName": "google.longrunning.Operations" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 51, "type": "FULL" } ] }, { "regionTag": "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.DeleteRestore", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.DeleteRestoreRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 56, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.DeleteRestoreChannel", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.DeleteRestoreChannelRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 56, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.DeleteRestorePlan", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.DeleteRestorePlanRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 56, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetBackup", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.GetBackupRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetBackupChannel", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.GetBackupChannelRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetBackupIndexDownloadUrl", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.GetBackupIndexDownloadUrlRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetBackupPlan", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.GetBackupPlanRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetBackupPlanBinding", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.GetBackupPlanBindingRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetIamPolicy", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "iampb.GetIamPolicyRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetLocation", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "locationpb.GetLocationRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetOperation", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "longrunningpb.GetOperationRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetRestore", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.GetRestoreRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetRestoreChannel", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.GetRestoreChannelRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetRestorePlan", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.GetRestorePlanRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetRestorePlanBinding", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.GetRestorePlanBindingRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetVolumeBackup", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.GetVolumeBackupRequest", "name": "req" }, { "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.GetVolumeRestore", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.GetVolumeRestoreRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListBackupChannels", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.ListBackupChannelsRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListBackupPlanBindings", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.ListBackupPlanBindingsRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListBackupPlans", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.ListBackupPlansRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListBackups", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.ListBackupsRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListLocations", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "locationpb.ListLocationsRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListOperations", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "longrunningpb.ListOperationsRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListRestoreChannels", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.ListRestoreChannelsRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListRestorePlanBindings", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.ListRestorePlanBindingsRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListRestorePlans", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.ListRestorePlansRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListRestores", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.ListRestoresRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListVolumeBackups", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.ListVolumeBackupsRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.ListVolumeRestores", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.ListVolumeRestoresRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.SetIamPolicy", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "iampb.SetIamPolicyRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.TestIamPermissions", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "iampb.TestIamPermissionsRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.UpdateBackup", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.UpdateBackupRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.UpdateBackupChannel", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.UpdateBackupChannelRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.UpdateBackupPlan", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.UpdateBackupPlanRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.UpdateRestore", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.UpdateRestoreRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.UpdateRestoreChannel", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.UpdateRestoreChannelRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "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", "fullName": "google.cloud.gkebackup.v1.BackupForGKEClient.UpdateRestorePlan", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "gkebackuppb.UpdateRestorePlanRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "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" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] } ] }