blob: 478dffe9fbb70cbaccb0ade4b723dab0cfc17855 [file] [log] [blame]
{
"clientLibrary": {
"name": "cloud.google.com/go/aiplatform/apiv1beta1",
"version": "1.21.0",
"language": "GO",
"apis": [
{
"id": "google.cloud.aiplatform.v1beta1",
"version": "v1beta1"
}
]
},
"snippets": [
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "DatasetClient",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetService.CancelOperation",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.CreateDataset",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateDatasetRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.DeleteDataset",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteDatasetRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.DeleteOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.DeleteOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "DatasetClient",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetService.DeleteOperation",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.ExportData",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ExportDataRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.GetAnnotationSpec",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetAnnotationSpecRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.GetDataset",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetDatasetRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.GetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.GetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "DatasetClient",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetService.GetIamPolicy",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "DatasetClient",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetService.GetLocation",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "DatasetClient",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetService.GetOperation",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.ImportData",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ImportDataRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.ListAnnotations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListAnnotationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.ListDataItems",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListDataItemsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.ListDatasets",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListDatasetsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "DatasetClient",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetService.ListLocations",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "DatasetClient",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetService.ListOperations",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.ListSavedQueries",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListSavedQueriesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.SetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.SetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "DatasetClient",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetService.SetIamPolicy",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.TestIamPermissions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.TestIamPermissionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.TestIamPermissionsResponse",
"client": {
"shortName": "DatasetClient",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetService.TestIamPermissions",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.UpdateDataset",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UpdateDatasetRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient.WaitOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.WaitOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "DatasetClient",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetService.WaitOperation",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1beta1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "DeploymentResourcePoolClient",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.CancelOperation",
"service": {
"shortName": "DeploymentResourcePoolService",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.CreateDeploymentResourcePool",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateDeploymentResourcePoolRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.DeleteDeploymentResourcePool",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteDeploymentResourcePoolRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.DeleteOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.DeleteOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "DeploymentResourcePoolClient",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.DeleteOperation",
"service": {
"shortName": "DeploymentResourcePoolService",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.GetDeploymentResourcePool",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetDeploymentResourcePoolRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.GetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.GetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "DeploymentResourcePoolClient",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.GetIamPolicy",
"service": {
"shortName": "DeploymentResourcePoolService",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "DeploymentResourcePoolClient",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.GetLocation",
"service": {
"shortName": "DeploymentResourcePoolService",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "DeploymentResourcePoolClient",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.GetOperation",
"service": {
"shortName": "DeploymentResourcePoolService",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.ListDeploymentResourcePools",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListDeploymentResourcePoolsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "DeploymentResourcePoolClient",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.ListLocations",
"service": {
"shortName": "DeploymentResourcePoolService",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "DeploymentResourcePoolClient",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.ListOperations",
"service": {
"shortName": "DeploymentResourcePoolService",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.QueryDeployedModels",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.QueryDeployedModelsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.SetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.SetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "DeploymentResourcePoolClient",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.SetIamPolicy",
"service": {
"shortName": "DeploymentResourcePoolService",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.TestIamPermissions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.TestIamPermissionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.TestIamPermissionsResponse",
"client": {
"shortName": "DeploymentResourcePoolClient",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.TestIamPermissions",
"service": {
"shortName": "DeploymentResourcePoolService",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient.WaitOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.WaitOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "DeploymentResourcePoolClient",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.WaitOperation",
"service": {
"shortName": "DeploymentResourcePoolService",
"fullName": "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "EndpointClient",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointService.CancelOperation",
"service": {
"shortName": "EndpointService",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.CreateEndpoint",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateEndpointRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.DeleteEndpoint",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteEndpointRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.DeleteOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.DeleteOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "EndpointClient",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointService.DeleteOperation",
"service": {
"shortName": "EndpointService",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.DeployModel",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeployModelRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.GetEndpoint",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetEndpointRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.GetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.GetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "EndpointClient",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointService.GetIamPolicy",
"service": {
"shortName": "EndpointService",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "EndpointClient",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointService.GetLocation",
"service": {
"shortName": "EndpointService",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "EndpointClient",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointService.GetOperation",
"service": {
"shortName": "EndpointService",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.ListEndpoints",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListEndpointsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "EndpointClient",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointService.ListLocations",
"service": {
"shortName": "EndpointService",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "EndpointClient",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointService.ListOperations",
"service": {
"shortName": "EndpointService",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.SetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.SetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "EndpointClient",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointService.SetIamPolicy",
"service": {
"shortName": "EndpointService",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.TestIamPermissions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.TestIamPermissionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.TestIamPermissionsResponse",
"client": {
"shortName": "EndpointClient",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointService.TestIamPermissions",
"service": {
"shortName": "EndpointService",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.UndeployModel",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UndeployModelRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.UpdateEndpoint",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UpdateEndpointRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient.WaitOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.WaitOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "EndpointClient",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointService.WaitOperation",
"service": {
"shortName": "EndpointService",
"fullName": "google.cloud.aiplatform.v1beta1.EndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.BatchCreateFeatures",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.BatchCreateFeaturesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.BatchReadFeatureValues",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.BatchReadFeatureValuesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "FeaturestoreClient",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.CancelOperation",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.CreateEntityType",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateEntityTypeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.CreateFeature",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateFeatureRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.CreateFeaturestore",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateFeaturestoreRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.DeleteEntityType",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteEntityTypeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.DeleteFeature",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteFeatureRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.DeleteFeatureValues",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteFeatureValuesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.DeleteFeaturestore",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteFeaturestoreRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.DeleteOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.DeleteOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "FeaturestoreClient",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteOperation",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.ExportFeatureValues",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ExportFeatureValuesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.GetEntityType",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetEntityTypeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.GetFeature",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetFeatureRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.GetFeaturestore",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetFeaturestoreRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.GetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.GetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "FeaturestoreClient",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.GetIamPolicy",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "FeaturestoreClient",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.GetLocation",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "FeaturestoreClient",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.GetOperation",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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\tSource data for import contains multiple distinct Feature values for\n\tthe same entity ID and timestamp.\n\n\tSource is modified during an import. This includes adding, updating, or\n\tremoving source data and/or metadata. Examples of updating metadata\n\tinclude but are not limited to changing storage location, storage class,\n\tor retention policy.\n\n\tOnline serving cluster is under-provisioned.",
"file": "FeaturestoreClient/ImportFeatureValues/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ImportFeatureValues",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.ImportFeatureValues",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ImportFeatureValuesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.ListEntityTypes",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListEntityTypesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.ListFeatures",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListFeaturesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.ListFeaturestores",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListFeaturestoresRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "FeaturestoreClient",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.ListLocations",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "FeaturestoreClient",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.ListOperations",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.SearchFeatures",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.SearchFeaturesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.SetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.SetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "FeaturestoreClient",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.SetIamPolicy",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.TestIamPermissions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.TestIamPermissionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.TestIamPermissionsResponse",
"client": {
"shortName": "FeaturestoreClient",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.TestIamPermissions",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.UpdateEntityType",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UpdateEntityTypeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.UpdateFeature",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UpdateFeatureRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.UpdateFeaturestore",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UpdateFeaturestoreRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient.WaitOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.WaitOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "FeaturestoreClient",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.WaitOperation",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "FeaturestoreOnlineServingClient",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.CancelOperation",
"service": {
"shortName": "FeaturestoreOnlineServingService",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient.DeleteOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.DeleteOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "FeaturestoreOnlineServingClient",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.DeleteOperation",
"service": {
"shortName": "FeaturestoreOnlineServingService",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient.GetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.GetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "FeaturestoreOnlineServingClient",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.GetIamPolicy",
"service": {
"shortName": "FeaturestoreOnlineServingService",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "FeaturestoreOnlineServingClient",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.GetLocation",
"service": {
"shortName": "FeaturestoreOnlineServingService",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "FeaturestoreOnlineServingClient",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.GetOperation",
"service": {
"shortName": "FeaturestoreOnlineServingService",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "FeaturestoreOnlineServingClient",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.ListLocations",
"service": {
"shortName": "FeaturestoreOnlineServingService",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "FeaturestoreOnlineServingClient",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.ListOperations",
"service": {
"shortName": "FeaturestoreOnlineServingService",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient.ReadFeatureValues",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ReadFeatureValuesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient.SetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.SetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "FeaturestoreOnlineServingClient",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.SetIamPolicy",
"service": {
"shortName": "FeaturestoreOnlineServingService",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1beta1_generated_FeaturestoreOnlineServingService_StreamingReadFeatureValues_sync",
"title": "aiplatform StreamingReadFeatureValues Sample",
"description": "StreamingReadFeatureValues reads Feature values for multiple entities. Depending on their size, data\nfor different entities may be broken\nup across multiple responses.",
"file": "FeaturestoreOnlineServingClient/StreamingReadFeatureValues/main.go",
"language": "GO",
"clientMethod": {
"shortName": "StreamingReadFeatureValues",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient.StreamingReadFeatureValues",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.StreamingReadFeatureValuesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "FeaturestoreOnlineServingClient",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient"
},
"method": {
"shortName": "StreamingReadFeatureValues",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.StreamingReadFeatureValues",
"service": {
"shortName": "FeaturestoreOnlineServingService",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 1,
"end": -1,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient.TestIamPermissions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.TestIamPermissionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.TestIamPermissionsResponse",
"client": {
"shortName": "FeaturestoreOnlineServingClient",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.TestIamPermissions",
"service": {
"shortName": "FeaturestoreOnlineServingService",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient.WaitOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.WaitOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "FeaturestoreOnlineServingClient",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.WaitOperation",
"service": {
"shortName": "FeaturestoreOnlineServingService",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingClient.WriteFeatureValues",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.WriteFeatureValuesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "IndexClient",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1beta1.IndexService.CancelOperation",
"service": {
"shortName": "IndexService",
"fullName": "google.cloud.aiplatform.v1beta1.IndexService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient.CreateIndex",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateIndexRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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\nDeployedIndexes had been undeployed.",
"file": "IndexClient/DeleteIndex/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteIndex",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient.DeleteIndex",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteIndexRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient.DeleteOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.DeleteOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "IndexClient",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1beta1.IndexService.DeleteOperation",
"service": {
"shortName": "IndexService",
"fullName": "google.cloud.aiplatform.v1beta1.IndexService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient.GetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.GetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "IndexClient",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.IndexService.GetIamPolicy",
"service": {
"shortName": "IndexService",
"fullName": "google.cloud.aiplatform.v1beta1.IndexService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient.GetIndex",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetIndexRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "IndexClient",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1beta1.IndexService.GetLocation",
"service": {
"shortName": "IndexService",
"fullName": "google.cloud.aiplatform.v1beta1.IndexService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "IndexClient",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1beta1.IndexService.GetOperation",
"service": {
"shortName": "IndexService",
"fullName": "google.cloud.aiplatform.v1beta1.IndexService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient.ListIndexes",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListIndexesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "IndexClient",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1beta1.IndexService.ListLocations",
"service": {
"shortName": "IndexService",
"fullName": "google.cloud.aiplatform.v1beta1.IndexService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "IndexClient",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1beta1.IndexService.ListOperations",
"service": {
"shortName": "IndexService",
"fullName": "google.cloud.aiplatform.v1beta1.IndexService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient.RemoveDatapoints",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.RemoveDatapointsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient.SetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.SetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "IndexClient",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.IndexService.SetIamPolicy",
"service": {
"shortName": "IndexService",
"fullName": "google.cloud.aiplatform.v1beta1.IndexService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient.TestIamPermissions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.TestIamPermissionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.TestIamPermissionsResponse",
"client": {
"shortName": "IndexClient",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1beta1.IndexService.TestIamPermissions",
"service": {
"shortName": "IndexService",
"fullName": "google.cloud.aiplatform.v1beta1.IndexService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient.UpdateIndex",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UpdateIndexRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient.UpsertDatapoints",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UpsertDatapointsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient.WaitOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.WaitOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "IndexClient",
"fullName": "google.cloud.aiplatform.v1beta1.IndexClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1beta1.IndexService.WaitOperation",
"service": {
"shortName": "IndexService",
"fullName": "google.cloud.aiplatform.v1beta1.IndexService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "IndexEndpointClient",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.CancelOperation",
"service": {
"shortName": "IndexEndpointService",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.CreateIndexEndpoint",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateIndexEndpointRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.DeleteIndexEndpoint",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteIndexEndpointRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.DeleteOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.DeleteOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "IndexEndpointClient",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.DeleteOperation",
"service": {
"shortName": "IndexEndpointService",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.DeployIndex",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeployIndexRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.GetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.GetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "IndexEndpointClient",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.GetIamPolicy",
"service": {
"shortName": "IndexEndpointService",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.GetIndexEndpoint",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetIndexEndpointRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "IndexEndpointClient",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.GetLocation",
"service": {
"shortName": "IndexEndpointService",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "IndexEndpointClient",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.GetOperation",
"service": {
"shortName": "IndexEndpointService",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.ListIndexEndpoints",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListIndexEndpointsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "IndexEndpointClient",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.ListLocations",
"service": {
"shortName": "IndexEndpointService",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "IndexEndpointClient",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.ListOperations",
"service": {
"shortName": "IndexEndpointService",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.MutateDeployedIndex",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.MutateDeployedIndexRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.SetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.SetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "IndexEndpointClient",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.SetIamPolicy",
"service": {
"shortName": "IndexEndpointService",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.TestIamPermissions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.TestIamPermissionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.TestIamPermissionsResponse",
"client": {
"shortName": "IndexEndpointClient",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.TestIamPermissions",
"service": {
"shortName": "IndexEndpointService",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.UndeployIndex",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UndeployIndexRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.UpdateIndexEndpoint",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UpdateIndexEndpointRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient.WaitOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.WaitOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "IndexEndpointClient",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.WaitOperation",
"service": {
"shortName": "IndexEndpointService",
"fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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 JobService.GetBatchPredictionJob or\nother 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\nBatchPredictionJob.state is set to CANCELLED. Any files already\noutputted by the job are not deleted.",
"file": "JobClient/CancelBatchPredictionJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelBatchPredictionJob",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.CancelBatchPredictionJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CancelBatchPredictionJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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 JobService.GetCustomJob or\nother 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 value with a google.rpc.Status.code of 1,\ncorresponding to Code.CANCELLED, and CustomJob.state is set to\nCANCELLED.",
"file": "JobClient/CancelCustomJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelCustomJob",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.CancelCustomJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CancelCustomJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.CancelDataLabelingJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CancelDataLabelingJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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 JobService.GetHyperparameterTuningJob or\nother 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 HyperparameterTuningJob.error value with a google.rpc.Status.code\nof 1, corresponding to Code.CANCELLED, and\nHyperparameterTuningJob.state is set to CANCELLED.",
"file": "JobClient/CancelHyperparameterTuningJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelHyperparameterTuningJob",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.CancelHyperparameterTuningJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CancelHyperparameterTuningJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "JobClient",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1beta1.JobService.CancelOperation",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1beta1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.CreateBatchPredictionJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateBatchPredictionJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.CreateCustomJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateCustomJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.CreateDataLabelingJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateDataLabelingJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.CreateHyperparameterTuningJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateHyperparameterTuningJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.CreateModelDeploymentMonitoringJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateModelDeploymentMonitoringJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.DeleteBatchPredictionJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteBatchPredictionJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.DeleteCustomJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteCustomJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.DeleteDataLabelingJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteDataLabelingJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.DeleteHyperparameterTuningJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteHyperparameterTuningJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.DeleteModelDeploymentMonitoringJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteModelDeploymentMonitoringJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.DeleteOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.DeleteOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "JobClient",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1beta1.JobService.DeleteOperation",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1beta1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.GetBatchPredictionJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetBatchPredictionJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.GetCustomJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetCustomJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.GetDataLabelingJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetDataLabelingJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.GetHyperparameterTuningJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetHyperparameterTuningJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.GetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.GetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "JobClient",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.JobService.GetIamPolicy",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1beta1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "JobClient",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1beta1.JobService.GetLocation",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1beta1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.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.v1beta1.JobClient"
},
"method": {
"shortName": "GetModelDeploymentMonitoringJob",
"fullName": "google.cloud.aiplatform.v1beta1.JobService.GetModelDeploymentMonitoringJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1beta1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "JobClient",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1beta1.JobService.GetOperation",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1beta1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.ListBatchPredictionJobs",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListBatchPredictionJobsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.ListCustomJobs",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListCustomJobsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.ListDataLabelingJobs",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListDataLabelingJobsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.ListHyperparameterTuningJobs",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListHyperparameterTuningJobsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "JobClient",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1beta1.JobService.ListLocations",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1beta1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.ListModelDeploymentMonitoringJobs",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListModelDeploymentMonitoringJobsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "JobClient",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1beta1.JobService.ListOperations",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1beta1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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\nModelDeploymentMonitoringJob.state to ‘PAUSED’.",
"file": "JobClient/PauseModelDeploymentMonitoringJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "PauseModelDeploymentMonitoringJob",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.PauseModelDeploymentMonitoringJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.PauseModelDeploymentMonitoringJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.ResumeModelDeploymentMonitoringJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ResumeModelDeploymentMonitoringJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.SearchModelDeploymentMonitoringStatsAnomalies",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.SearchModelDeploymentMonitoringStatsAnomaliesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.SetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.SetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "JobClient",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.JobService.SetIamPolicy",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1beta1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.TestIamPermissions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.TestIamPermissionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.TestIamPermissionsResponse",
"client": {
"shortName": "JobClient",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1beta1.JobService.TestIamPermissions",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1beta1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.UpdateModelDeploymentMonitoringJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UpdateModelDeploymentMonitoringJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient.WaitOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.WaitOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "JobClient",
"fullName": "google.cloud.aiplatform.v1beta1.JobClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1beta1.JobService.WaitOperation",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1beta1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.AddContextArtifactsAndExecutions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.AddContextArtifactsAndExecutionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.AddContextChildren",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.AddContextChildrenRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.AddExecutionEvents",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.AddExecutionEventsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "MetadataClient",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataService.CancelOperation",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.CreateArtifact",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateArtifactRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.CreateContext",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateContextRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.CreateExecution",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateExecutionRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.CreateMetadataSchema",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateMetadataSchemaRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.CreateMetadataStore",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateMetadataStoreRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.DeleteArtifact",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteArtifactRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.DeleteContext",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteContextRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.DeleteExecution",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteExecutionRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.DeleteMetadataStore",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteMetadataStoreRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.DeleteOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.DeleteOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "MetadataClient",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataService.DeleteOperation",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.GetArtifact",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetArtifactRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.GetContext",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetContextRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.GetExecution",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetExecutionRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.GetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.GetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "MetadataClient",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataService.GetIamPolicy",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "MetadataClient",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataService.GetLocation",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.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.v1beta1.MetadataClient"
},
"method": {
"shortName": "GetMetadataSchema",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataService.GetMetadataSchema",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.GetMetadataStore",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetMetadataStoreRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "MetadataClient",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataService.GetOperation",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.ListArtifacts",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListArtifactsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.ListContexts",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListContextsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.ListExecutions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListExecutionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "MetadataClient",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataService.ListLocations",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.ListMetadataSchemas",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListMetadataSchemasRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.ListMetadataStores",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListMetadataStoresRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "MetadataClient",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataService.ListOperations",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.PurgeArtifacts",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.PurgeArtifactsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.PurgeContexts",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.PurgeContextsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.PurgeExecutions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.PurgeExecutionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.QueryArtifactLineageSubgraph",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.QueryArtifactLineageSubgraphRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.QueryContextLineageSubgraph",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.QueryContextLineageSubgraphRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.QueryExecutionInputsAndOutputs",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.QueryExecutionInputsAndOutputsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.SetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.SetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "MetadataClient",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataService.SetIamPolicy",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.TestIamPermissions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.TestIamPermissionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.TestIamPermissionsResponse",
"client": {
"shortName": "MetadataClient",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataService.TestIamPermissions",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.UpdateArtifact",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UpdateArtifactRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.UpdateContext",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UpdateContextRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.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.v1beta1.MetadataClient"
},
"method": {
"shortName": "UpdateExecution",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataService.UpdateExecution",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient.WaitOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.WaitOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "MetadataClient",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataService.WaitOperation",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1beta1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1beta1_generated_MigrationService_BatchMigrateResources_sync",
"title": "aiplatform BatchMigrateResources Sample",
"description": "BatchMigrateResources batch migrates resources from ml.googleapis.com (at http: //ml.googleapis.com), automl.googleapis.com (at http: //automl.googleapis.com),\nand datalabeling.googleapis.com (at http: //datalabeling.googleapis.com) to Vertex AI.",
"file": "MigrationClient/BatchMigrateResources/main.go",
"language": "GO",
"clientMethod": {
"shortName": "BatchMigrateResources",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationClient.BatchMigrateResources",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.BatchMigrateResourcesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "MigrationClient",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationService.CancelOperation",
"service": {
"shortName": "MigrationService",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationClient.DeleteOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.DeleteOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "MigrationClient",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationService.DeleteOperation",
"service": {
"shortName": "MigrationService",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationClient.GetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.GetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "MigrationClient",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationService.GetIamPolicy",
"service": {
"shortName": "MigrationService",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "MigrationClient",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationService.GetLocation",
"service": {
"shortName": "MigrationService",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "MigrationClient",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationService.GetOperation",
"service": {
"shortName": "MigrationService",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "MigrationClient",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationService.ListLocations",
"service": {
"shortName": "MigrationService",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "MigrationClient",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationService.ListOperations",
"service": {
"shortName": "MigrationService",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1beta1_generated_MigrationService_SearchMigratableResources_sync",
"title": "aiplatform SearchMigratableResources Sample",
"description": "SearchMigratableResources searches all of the resources in automl.googleapis.com (at http: //automl.googleapis.com),\ndatalabeling.googleapis.com (at http: //datalabeling.googleapis.com) and ml.googleapis.com (at http: //ml.googleapis.com) that can be migrated to\nVertex AI’s given location.",
"file": "MigrationClient/SearchMigratableResources/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SearchMigratableResources",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationClient.SearchMigratableResources",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.SearchMigratableResourcesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationClient.SetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.SetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "MigrationClient",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationService.SetIamPolicy",
"service": {
"shortName": "MigrationService",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationClient.TestIamPermissions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.TestIamPermissionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.TestIamPermissionsResponse",
"client": {
"shortName": "MigrationClient",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationService.TestIamPermissions",
"service": {
"shortName": "MigrationService",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationClient.WaitOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.WaitOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "MigrationClient",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationService.WaitOperation",
"service": {
"shortName": "MigrationService",
"fullName": "google.cloud.aiplatform.v1beta1.MigrationService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient.BatchImportModelEvaluationSlices",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.BatchImportModelEvaluationSlicesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "ModelClient",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1beta1.ModelService.CancelOperation",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1beta1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1beta1_generated_ModelService_DeleteModel_sync",
"title": "aiplatform DeleteModel Sample",
"description": "DeleteModel deletes a Model.\n\nA model cannot be deleted if any Endpoint resource has a\nDeployedModel based on the model in its\ndeployed_models field.",
"file": "ModelClient/DeleteModel/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteModel",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient.DeleteModel",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteModelRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"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 DeployedModels\ncreated from it. Deleting the only version in the Model is not allowed. Use\nDeleteModel for deleting the Model instead.",
"file": "ModelClient/DeleteModelVersion/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteModelVersion",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient.DeleteModelVersion",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteModelVersionRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient.DeleteOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.DeleteOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "ModelClient",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1beta1.ModelService.DeleteOperation",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1beta1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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 format][google.cloud.aiplatform.v1beta1.Model.supported_export_formats].",
"file": "ModelClient/ExportModel/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ExportModel",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient.ExportModel",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ExportModelRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient.GetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.GetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "ModelClient",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.ModelService.GetIamPolicy",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1beta1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "ModelClient",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1beta1.ModelService.GetLocation",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1beta1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient.GetModel",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetModelRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient.GetModelEvaluation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetModelEvaluationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient.GetModelEvaluationSlice",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetModelEvaluationSliceRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "ModelClient",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1beta1.ModelService.GetOperation",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1beta1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient.ImportModelEvaluation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ImportModelEvaluationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "ModelClient",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1beta1.ModelService.ListLocations",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1beta1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.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.v1beta1.ModelClient"
},
"method": {
"shortName": "ListModelEvaluationSlices",
"fullName": "google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1beta1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient.ListModelEvaluations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListModelEvaluationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient.ListModelVersions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListModelVersionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient.ListModels",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListModelsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "ModelClient",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1beta1.ModelService.ListOperations",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1beta1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient.MergeVersionAliases",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.MergeVersionAliasesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient.SetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.SetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "ModelClient",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.ModelService.SetIamPolicy",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1beta1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient.TestIamPermissions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.TestIamPermissionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.TestIamPermissionsResponse",
"client": {
"shortName": "ModelClient",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1beta1.ModelService.TestIamPermissions",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1beta1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient.UpdateExplanationDataset",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UpdateExplanationDatasetRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient.UpdateModel",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UpdateModelRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient.UploadModel",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UploadModelRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient.WaitOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.WaitOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "ModelClient",
"fullName": "google.cloud.aiplatform.v1beta1.ModelClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1beta1.ModelService.WaitOperation",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1beta1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "PipelineClient",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineService.CancelOperation",
"service": {
"shortName": "PipelineService",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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 PipelineService.GetPipelineJob or\nother 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 value with a google.rpc.Status.code of 1,\ncorresponding to Code.CANCELLED, and PipelineJob.state is set to\nCANCELLED.",
"file": "PipelineClient/CancelPipelineJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelPipelineJob",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.CancelPipelineJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CancelPipelineJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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 PipelineService.GetTrainingPipeline or\nother 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 TrainingPipeline.error value with a google.rpc.Status.code of 1,\ncorresponding to Code.CANCELLED, and TrainingPipeline.state is set to\nCANCELLED.",
"file": "PipelineClient/CancelTrainingPipeline/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelTrainingPipeline",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.CancelTrainingPipeline",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CancelTrainingPipelineRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.CreatePipelineJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreatePipelineJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.CreateTrainingPipeline",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateTrainingPipelineRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.DeleteOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.DeleteOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "PipelineClient",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineService.DeleteOperation",
"service": {
"shortName": "PipelineService",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.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.v1beta1.PipelineClient"
},
"method": {
"shortName": "DeletePipelineJob",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineService.DeletePipelineJob",
"service": {
"shortName": "PipelineService",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.DeleteTrainingPipeline",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteTrainingPipelineRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.GetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.GetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "PipelineClient",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineService.GetIamPolicy",
"service": {
"shortName": "PipelineService",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "PipelineClient",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineService.GetLocation",
"service": {
"shortName": "PipelineService",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "PipelineClient",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineService.GetOperation",
"service": {
"shortName": "PipelineService",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.GetPipelineJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetPipelineJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.GetTrainingPipeline",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetTrainingPipelineRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "PipelineClient",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineService.ListLocations",
"service": {
"shortName": "PipelineService",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "PipelineClient",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineService.ListOperations",
"service": {
"shortName": "PipelineService",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.ListPipelineJobs",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListPipelineJobsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.ListTrainingPipelines",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListTrainingPipelinesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.SetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.SetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "PipelineClient",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineService.SetIamPolicy",
"service": {
"shortName": "PipelineService",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.TestIamPermissions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.TestIamPermissionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.TestIamPermissionsResponse",
"client": {
"shortName": "PipelineClient",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineService.TestIamPermissions",
"service": {
"shortName": "PipelineService",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient.WaitOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.WaitOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "PipelineClient",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineService.WaitOperation",
"service": {
"shortName": "PipelineService",
"fullName": "google.cloud.aiplatform.v1beta1.PipelineService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "PredictionClient",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionService.CancelOperation",
"service": {
"shortName": "PredictionService",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.DeleteOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.DeleteOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "PredictionClient",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionService.DeleteOperation",
"service": {
"shortName": "PredictionService",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1beta1_generated_PredictionService_Explain_sync",
"title": "aiplatform Explain Sample",
"description": "Explain perform an online explanation.\n\nIf deployed_model_id is specified,\nthe corresponding DeployModel must have\nexplanation_spec\npopulated. If deployed_model_id\nis not specified, all DeployedModels must have\nexplanation_spec\npopulated. Only deployed AutoML tabular Models have\nexplanation_spec.",
"file": "PredictionClient/Explain/main.go",
"language": "GO",
"clientMethod": {
"shortName": "Explain",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.Explain",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ExplainRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.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.v1beta1.PredictionClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionService.GetIamPolicy",
"service": {
"shortName": "PredictionService",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "PredictionClient",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionService.GetLocation",
"service": {
"shortName": "PredictionService",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "PredictionClient",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionService.GetOperation",
"service": {
"shortName": "PredictionService",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "PredictionClient",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionService.ListLocations",
"service": {
"shortName": "PredictionService",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "PredictionClient",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionService.ListOperations",
"service": {
"shortName": "PredictionService",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.Predict",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.PredictRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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\tX-Vertex-AI-Endpoint-Id: ID of the Endpoint that served this\n\tprediction.\n\n\tX-Vertex-AI-Deployed-Model-Id: ID of the Endpoint’s DeployedModel\n\tthat served this prediction.",
"file": "PredictionClient/RawPredict/main.go",
"language": "GO",
"clientMethod": {
"shortName": "RawPredict",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.RawPredict",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.RawPredictRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.SetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.SetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "PredictionClient",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionService.SetIamPolicy",
"service": {
"shortName": "PredictionService",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.TestIamPermissions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.TestIamPermissionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.TestIamPermissionsResponse",
"client": {
"shortName": "PredictionClient",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionService.TestIamPermissions",
"service": {
"shortName": "PredictionService",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionClient.WaitOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.WaitOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "PredictionClient",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionService.WaitOperation",
"service": {
"shortName": "PredictionService",
"fullName": "google.cloud.aiplatform.v1beta1.PredictionService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "SpecialistPoolClient",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService.CancelOperation",
"service": {
"shortName": "SpecialistPoolService",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.CreateSpecialistPool",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateSpecialistPoolRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService.DeleteOperation",
"service": {
"shortName": "SpecialistPoolService",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.DeleteSpecialistPool",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteSpecialistPoolRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.GetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.GetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "SpecialistPoolClient",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService.GetIamPolicy",
"service": {
"shortName": "SpecialistPoolService",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "SpecialistPoolClient",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService.GetLocation",
"service": {
"shortName": "SpecialistPoolService",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "SpecialistPoolClient",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService.GetOperation",
"service": {
"shortName": "SpecialistPoolService",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.GetSpecialistPool",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetSpecialistPoolRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "SpecialistPoolClient",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService.ListLocations",
"service": {
"shortName": "SpecialistPoolService",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "SpecialistPoolClient",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService.ListOperations",
"service": {
"shortName": "SpecialistPoolService",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.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.v1beta1.SpecialistPoolClient"
},
"method": {
"shortName": "ListSpecialistPools",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService.ListSpecialistPools",
"service": {
"shortName": "SpecialistPoolService",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.SetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.SetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "SpecialistPoolClient",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService.SetIamPolicy",
"service": {
"shortName": "SpecialistPoolService",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.TestIamPermissions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.TestIamPermissionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.TestIamPermissionsResponse",
"client": {
"shortName": "SpecialistPoolClient",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService.TestIamPermissions",
"service": {
"shortName": "SpecialistPoolService",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"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",
"clientMethod": {
"shortName": "UpdateSpecialistPool",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.UpdateSpecialistPool",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UpdateSpecialistPoolRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient.WaitOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.WaitOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "SpecialistPoolClient",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService.WaitOperation",
"service": {
"shortName": "SpecialistPoolService",
"fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.BatchCreateTensorboardRuns",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.BatchCreateTensorboardRunsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.BatchCreateTensorboardTimeSeries",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.BatchCreateTensorboardTimeSeriesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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 will be returned.\nOtherwise, that limit number of data points will be randomly selected from\nthis time series and returned.",
"file": "TensorboardClient/BatchReadTensorboardTimeSeriesData/main.go",
"language": "GO",
"clientMethod": {
"shortName": "BatchReadTensorboardTimeSeriesData",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.BatchReadTensorboardTimeSeriesData",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.BatchReadTensorboardTimeSeriesDataRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "TensorboardClient",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.CancelOperation",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.CreateTensorboard",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateTensorboardRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.CreateTensorboardExperiment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateTensorboardExperimentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.CreateTensorboardRun",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateTensorboardRunRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.CreateTensorboardTimeSeries",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateTensorboardTimeSeriesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.DeleteOperation",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.DeleteTensorboard",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteTensorboardRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.DeleteTensorboardExperiment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteTensorboardExperimentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.DeleteTensorboardRun",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteTensorboardRunRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.DeleteTensorboardTimeSeries",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteTensorboardTimeSeriesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 55,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.ExportTensorboardTimeSeriesData",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ExportTensorboardTimeSeriesDataRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.GetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.GetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "TensorboardClient",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.GetIamPolicy",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "TensorboardClient",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.GetLocation",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.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.v1beta1.TensorboardClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.GetOperation",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.GetTensorboard",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetTensorboardRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.GetTensorboardExperiment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetTensorboardExperimentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.GetTensorboardRun",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetTensorboardRunRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.GetTensorboardTimeSeries",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetTensorboardTimeSeriesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "TensorboardClient",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ListLocations",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "TensorboardClient",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ListOperations",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.ListTensorboardExperiments",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListTensorboardExperimentsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.ListTensorboardRuns",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListTensorboardRunsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.ListTensorboardTimeSeries",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListTensorboardTimeSeriesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.ListTensorboards",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListTensorboardsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1beta1_generated_TensorboardService_ReadTensorboardBlobData_sync",
"title": "aiplatform ReadTensorboardBlobData Sample",
"description": "ReadTensorboardBlobData gets bytes of TensorboardBlobs.\nThis is to allow reading blob data stored in consumer project’s Cloud\nStorage bucket without users having to obtain Cloud Storage access\npermission.",
"file": "TensorboardClient/ReadTensorboardBlobData/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ReadTensorboardBlobData",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.ReadTensorboardBlobData",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ReadTensorboardBlobDataRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "TensorboardClient",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient"
},
"method": {
"shortName": "ReadTensorboardBlobData",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ReadTensorboardBlobData",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 1,
"end": -1,
"type": "FULL"
}
]
},
{
"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 will be returned. Otherwise, 1000\ndata points will be 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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.ReadTensorboardTimeSeriesData",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ReadTensorboardTimeSeriesDataRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.SetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.SetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "TensorboardClient",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.SetIamPolicy",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.TestIamPermissions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.TestIamPermissionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.TestIamPermissionsResponse",
"client": {
"shortName": "TensorboardClient",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.TestIamPermissions",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.UpdateTensorboard",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UpdateTensorboardRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.UpdateTensorboardExperiment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UpdateTensorboardExperimentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.UpdateTensorboardRun",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UpdateTensorboardRunRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.UpdateTensorboardTimeSeries",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UpdateTensorboardTimeSeriesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.WaitOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.WaitOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "TensorboardClient",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.WaitOperation",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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 will be\nreturned.",
"file": "TensorboardClient/WriteTensorboardExperimentData/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WriteTensorboardExperimentData",
"fullName": "google.cloud.aiplatform.v1beta1.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.v1beta1.TensorboardClient"
},
"method": {
"shortName": "WriteTensorboardExperimentData",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.WriteTensorboardExperimentData",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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 will be\nreturned.",
"file": "TensorboardClient/WriteTensorboardRunData/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WriteTensorboardRunData",
"fullName": "google.cloud.aiplatform.v1beta1.TensorboardClient.WriteTensorboardRunData",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.WriteTensorboardRunDataRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient.AddTrialMeasurement",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.AddTrialMeasurementRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "VizierClient",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1beta1.VizierService.CancelOperation",
"service": {
"shortName": "VizierService",
"fullName": "google.cloud.aiplatform.v1beta1.VizierService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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\nCheckTrialEarlyStoppingStateResponse.",
"file": "VizierClient/CheckTrialEarlyStoppingState/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CheckTrialEarlyStoppingState",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient.CheckTrialEarlyStoppingState",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CheckTrialEarlyStoppingStateRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient.CompleteTrial",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CompleteTrialRequest",
"name": "req"
},
{
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient.CreateStudy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateStudyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient.CreateTrial",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateTrialRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient.DeleteOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.DeleteOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "VizierClient",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1beta1.VizierService.DeleteOperation",
"service": {
"shortName": "VizierService",
"fullName": "google.cloud.aiplatform.v1beta1.VizierService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient.DeleteStudy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteStudyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient.DeleteTrial",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteTrialRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 50,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient.GetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.GetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "VizierClient",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.VizierService.GetIamPolicy",
"service": {
"shortName": "VizierService",
"fullName": "google.cloud.aiplatform.v1beta1.VizierService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "locationpb.Location",
"client": {
"shortName": "VizierClient",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1beta1.VizierService.GetLocation",
"service": {
"shortName": "VizierService",
"fullName": "google.cloud.aiplatform.v1beta1.VizierService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "VizierClient",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1beta1.VizierService.GetOperation",
"service": {
"shortName": "VizierService",
"fullName": "google.cloud.aiplatform.v1beta1.VizierService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient.GetStudy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetStudyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient.GetTrial",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetTrialRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "VizierClient",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1beta1.VizierService.ListLocations",
"service": {
"shortName": "VizierService",
"fullName": "google.cloud.aiplatform.v1beta1.VizierService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "VizierClient",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1beta1.VizierService.ListOperations",
"service": {
"shortName": "VizierService",
"fullName": "google.cloud.aiplatform.v1beta1.VizierService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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 (at https: //en.wikipedia.org/wiki/Pareto_efficiency)",
"file": "VizierClient/ListOptimalTrials/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOptimalTrials",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient.ListOptimalTrials",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListOptimalTrialsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient.ListStudies",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListStudiesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient.ListTrials",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListTrialsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 59,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient.LookupStudy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.LookupStudyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient.SetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.SetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.Policy",
"client": {
"shortName": "VizierClient",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1beta1.VizierService.SetIamPolicy",
"service": {
"shortName": "VizierService",
"fullName": "google.cloud.aiplatform.v1beta1.VizierService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient.StopTrial",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.StopTrialRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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 SuggestTrialsResponse.",
"file": "VizierClient/SuggestTrials/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SuggestTrials",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient.SuggestTrials",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.SuggestTrialsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"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"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 57,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient.TestIamPermissions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.TestIamPermissionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "iampb.TestIamPermissionsResponse",
"client": {
"shortName": "VizierClient",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1beta1.VizierService.TestIamPermissions",
"service": {
"shortName": "VizierService",
"fullName": "google.cloud.aiplatform.v1beta1.VizierService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
},
{
"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",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient.WaitOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.WaitOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "longrunningpb.Operation",
"client": {
"shortName": "VizierClient",
"fullName": "google.cloud.aiplatform.v1beta1.VizierClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1beta1.VizierService.WaitOperation",
"service": {
"shortName": "VizierService",
"fullName": "google.cloud.aiplatform.v1beta1.VizierService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 52,
"type": "FULL"
}
]
}
]
}