blob: 53ad9d883e3e411386ab81f2e5ef6765b121ec68 [file] [log] [blame]
{
"clientLibrary": {
"name": "cloud.google.com/go/aiplatform/apiv1",
"version": "1.63.0",
"language": "GO",
"apis": [
{
"id": "google.cloud.aiplatform.v1",
"version": "v1"
}
]
},
"snippets": [
{
"regionTag": "aiplatform_v1_generated_DatasetService_CancelOperation_sync",
"title": "aiplatform CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "DatasetClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.DatasetClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_CreateDataset_sync",
"title": "aiplatform CreateDataset Sample",
"description": "CreateDataset creates a Dataset.",
"file": "DatasetClient/CreateDataset/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateDataset",
"fullName": "google.cloud.aiplatform.v1.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.v1.DatasetClient"
},
"method": {
"shortName": "CreateDataset",
"fullName": "google.cloud.aiplatform.v1.DatasetService.CreateDataset",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_CreateDatasetVersion_sync",
"title": "aiplatform CreateDatasetVersion Sample",
"description": "CreateDatasetVersion create a version from a Dataset.",
"file": "DatasetClient/CreateDatasetVersion/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateDatasetVersion",
"fullName": "google.cloud.aiplatform.v1.DatasetClient.CreateDatasetVersion",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateDatasetVersionRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "CreateDatasetVersionOperation",
"client": {
"shortName": "DatasetClient",
"fullName": "google.cloud.aiplatform.v1.DatasetClient"
},
"method": {
"shortName": "CreateDatasetVersion",
"fullName": "google.cloud.aiplatform.v1.DatasetService.CreateDatasetVersion",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_DeleteDataset_sync",
"title": "aiplatform DeleteDataset Sample",
"description": "DeleteDataset deletes a Dataset.",
"file": "DatasetClient/DeleteDataset/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteDataset",
"fullName": "google.cloud.aiplatform.v1.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.v1.DatasetClient"
},
"method": {
"shortName": "DeleteDataset",
"fullName": "google.cloud.aiplatform.v1.DatasetService.DeleteDataset",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_DeleteDatasetVersion_sync",
"title": "aiplatform DeleteDatasetVersion Sample",
"description": "DeleteDatasetVersion deletes a Dataset version.",
"file": "DatasetClient/DeleteDatasetVersion/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteDatasetVersion",
"fullName": "google.cloud.aiplatform.v1.DatasetClient.DeleteDatasetVersion",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteDatasetVersionRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DeleteDatasetVersionOperation",
"client": {
"shortName": "DatasetClient",
"fullName": "google.cloud.aiplatform.v1.DatasetClient"
},
"method": {
"shortName": "DeleteDatasetVersion",
"fullName": "google.cloud.aiplatform.v1.DatasetService.DeleteDatasetVersion",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_DeleteOperation_sync",
"title": "aiplatform DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "DatasetClient/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.DatasetClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.longrunning.Operations.DeleteOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_DeleteSavedQuery_sync",
"title": "aiplatform DeleteSavedQuery Sample",
"description": "DeleteSavedQuery deletes a SavedQuery.",
"file": "DatasetClient/DeleteSavedQuery/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteSavedQuery",
"fullName": "google.cloud.aiplatform.v1.DatasetClient.DeleteSavedQuery",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteSavedQueryRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DeleteSavedQueryOperation",
"client": {
"shortName": "DatasetClient",
"fullName": "google.cloud.aiplatform.v1.DatasetClient"
},
"method": {
"shortName": "DeleteSavedQuery",
"fullName": "google.cloud.aiplatform.v1.DatasetService.DeleteSavedQuery",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_ExportData_sync",
"title": "aiplatform ExportData Sample",
"description": "ExportData exports data from a Dataset.",
"file": "DatasetClient/ExportData/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ExportData",
"fullName": "google.cloud.aiplatform.v1.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.v1.DatasetClient"
},
"method": {
"shortName": "ExportData",
"fullName": "google.cloud.aiplatform.v1.DatasetService.ExportData",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_GetAnnotationSpec_sync",
"title": "aiplatform GetAnnotationSpec Sample",
"description": "GetAnnotationSpec gets an AnnotationSpec.",
"file": "DatasetClient/GetAnnotationSpec/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetAnnotationSpec",
"fullName": "google.cloud.aiplatform.v1.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.v1.DatasetClient"
},
"method": {
"shortName": "GetAnnotationSpec",
"fullName": "google.cloud.aiplatform.v1.DatasetService.GetAnnotationSpec",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_GetDataset_sync",
"title": "aiplatform GetDataset Sample",
"description": "GetDataset gets a Dataset.",
"file": "DatasetClient/GetDataset/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetDataset",
"fullName": "google.cloud.aiplatform.v1.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.v1.DatasetClient"
},
"method": {
"shortName": "GetDataset",
"fullName": "google.cloud.aiplatform.v1.DatasetService.GetDataset",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_GetDatasetVersion_sync",
"title": "aiplatform GetDatasetVersion Sample",
"description": "GetDatasetVersion gets a Dataset version.",
"file": "DatasetClient/GetDatasetVersion/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetDatasetVersion",
"fullName": "google.cloud.aiplatform.v1.DatasetClient.GetDatasetVersion",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetDatasetVersionRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.DatasetVersion",
"client": {
"shortName": "DatasetClient",
"fullName": "google.cloud.aiplatform.v1.DatasetClient"
},
"method": {
"shortName": "GetDatasetVersion",
"fullName": "google.cloud.aiplatform.v1.DatasetService.GetDatasetVersion",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_GetIamPolicy_sync",
"title": "aiplatform GetIamPolicy Sample",
"description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.",
"file": "DatasetClient/GetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.DatasetClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_GetLocation_sync",
"title": "aiplatform GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "DatasetClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1.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.v1.DatasetClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_GetOperation_sync",
"title": "aiplatform GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "DatasetClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.DatasetClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_ImportData_sync",
"title": "aiplatform ImportData Sample",
"description": "ImportData imports data into a Dataset.",
"file": "DatasetClient/ImportData/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ImportData",
"fullName": "google.cloud.aiplatform.v1.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.v1.DatasetClient"
},
"method": {
"shortName": "ImportData",
"fullName": "google.cloud.aiplatform.v1.DatasetService.ImportData",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_ListAnnotations_sync",
"title": "aiplatform ListAnnotations Sample",
"description": "ListAnnotations lists Annotations belongs to a dataitem",
"file": "DatasetClient/ListAnnotations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListAnnotations",
"fullName": "google.cloud.aiplatform.v1.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.v1.DatasetClient"
},
"method": {
"shortName": "ListAnnotations",
"fullName": "google.cloud.aiplatform.v1.DatasetService.ListAnnotations",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_ListDataItems_sync",
"title": "aiplatform ListDataItems Sample",
"description": "ListDataItems lists DataItems in a Dataset.",
"file": "DatasetClient/ListDataItems/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListDataItems",
"fullName": "google.cloud.aiplatform.v1.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.v1.DatasetClient"
},
"method": {
"shortName": "ListDataItems",
"fullName": "google.cloud.aiplatform.v1.DatasetService.ListDataItems",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_ListDatasetVersions_sync",
"title": "aiplatform ListDatasetVersions Sample",
"description": "ListDatasetVersions lists DatasetVersions in a Dataset.",
"file": "DatasetClient/ListDatasetVersions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListDatasetVersions",
"fullName": "google.cloud.aiplatform.v1.DatasetClient.ListDatasetVersions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListDatasetVersionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DatasetVersionIterator",
"client": {
"shortName": "DatasetClient",
"fullName": "google.cloud.aiplatform.v1.DatasetClient"
},
"method": {
"shortName": "ListDatasetVersions",
"fullName": "google.cloud.aiplatform.v1.DatasetService.ListDatasetVersions",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_ListDatasets_sync",
"title": "aiplatform ListDatasets Sample",
"description": "ListDatasets lists Datasets in a Location.",
"file": "DatasetClient/ListDatasets/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListDatasets",
"fullName": "google.cloud.aiplatform.v1.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.v1.DatasetClient"
},
"method": {
"shortName": "ListDatasets",
"fullName": "google.cloud.aiplatform.v1.DatasetService.ListDatasets",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_ListLocations_sync",
"title": "aiplatform ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "DatasetClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1.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.v1.DatasetClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_ListOperations_sync",
"title": "aiplatform ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "DatasetClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1.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.v1.DatasetClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_ListSavedQueries_sync",
"title": "aiplatform ListSavedQueries Sample",
"description": "ListSavedQueries lists SavedQueries in a Dataset.",
"file": "DatasetClient/ListSavedQueries/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListSavedQueries",
"fullName": "google.cloud.aiplatform.v1.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.v1.DatasetClient"
},
"method": {
"shortName": "ListSavedQueries",
"fullName": "google.cloud.aiplatform.v1.DatasetService.ListSavedQueries",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_RestoreDatasetVersion_sync",
"title": "aiplatform RestoreDatasetVersion Sample",
"description": "RestoreDatasetVersion restores a dataset version.",
"file": "DatasetClient/RestoreDatasetVersion/main.go",
"language": "GO",
"clientMethod": {
"shortName": "RestoreDatasetVersion",
"fullName": "google.cloud.aiplatform.v1.DatasetClient.RestoreDatasetVersion",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.RestoreDatasetVersionRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "RestoreDatasetVersionOperation",
"client": {
"shortName": "DatasetClient",
"fullName": "google.cloud.aiplatform.v1.DatasetClient"
},
"method": {
"shortName": "RestoreDatasetVersion",
"fullName": "google.cloud.aiplatform.v1.DatasetService.RestoreDatasetVersion",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_SearchDataItems_sync",
"title": "aiplatform SearchDataItems Sample",
"description": "SearchDataItems searches DataItems in a Dataset.",
"file": "DatasetClient/SearchDataItems/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SearchDataItems",
"fullName": "google.cloud.aiplatform.v1.DatasetClient.SearchDataItems",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.SearchDataItemsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DataItemViewIterator",
"client": {
"shortName": "DatasetClient",
"fullName": "google.cloud.aiplatform.v1.DatasetClient"
},
"method": {
"shortName": "SearchDataItems",
"fullName": "google.cloud.aiplatform.v1.DatasetService.SearchDataItems",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_SetIamPolicy_sync",
"title": "aiplatform SetIamPolicy Sample",
"description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.",
"file": "DatasetClient/SetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.DatasetClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_TestIamPermissions_sync",
"title": "aiplatform TestIamPermissions Sample",
"description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.",
"file": "DatasetClient/TestIamPermissions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1.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.v1.DatasetClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_UpdateDataset_sync",
"title": "aiplatform UpdateDataset Sample",
"description": "UpdateDataset updates a Dataset.",
"file": "DatasetClient/UpdateDataset/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateDataset",
"fullName": "google.cloud.aiplatform.v1.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.v1.DatasetClient"
},
"method": {
"shortName": "UpdateDataset",
"fullName": "google.cloud.aiplatform.v1.DatasetService.UpdateDataset",
"service": {
"shortName": "DatasetService",
"fullName": "google.cloud.aiplatform.v1.DatasetService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DatasetService_WaitOperation_sync",
"title": "aiplatform WaitOperation Sample",
"description": "WaitOperation is a utility method from google.longrunning.Operations.",
"file": "DatasetClient/WaitOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.DatasetClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.longrunning.Operations.WaitOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_CancelOperation_sync",
"title": "aiplatform CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "DeploymentResourcePoolClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.DeploymentResourcePoolClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_CreateDeploymentResourcePool_sync",
"title": "aiplatform CreateDeploymentResourcePool Sample",
"description": "CreateDeploymentResourcePool create a DeploymentResourcePool.",
"file": "DeploymentResourcePoolClient/CreateDeploymentResourcePool/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateDeploymentResourcePool",
"fullName": "google.cloud.aiplatform.v1.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.v1.DeploymentResourcePoolClient"
},
"method": {
"shortName": "CreateDeploymentResourcePool",
"fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService.CreateDeploymentResourcePool",
"service": {
"shortName": "DeploymentResourcePoolService",
"fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_DeleteDeploymentResourcePool_sync",
"title": "aiplatform DeleteDeploymentResourcePool Sample",
"description": "DeleteDeploymentResourcePool delete a DeploymentResourcePool.",
"file": "DeploymentResourcePoolClient/DeleteDeploymentResourcePool/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteDeploymentResourcePool",
"fullName": "google.cloud.aiplatform.v1.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.v1.DeploymentResourcePoolClient"
},
"method": {
"shortName": "DeleteDeploymentResourcePool",
"fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService.DeleteDeploymentResourcePool",
"service": {
"shortName": "DeploymentResourcePoolService",
"fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_DeleteOperation_sync",
"title": "aiplatform DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "DeploymentResourcePoolClient/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.DeploymentResourcePoolClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.longrunning.Operations.DeleteOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_GetDeploymentResourcePool_sync",
"title": "aiplatform GetDeploymentResourcePool Sample",
"description": "GetDeploymentResourcePool get a DeploymentResourcePool.",
"file": "DeploymentResourcePoolClient/GetDeploymentResourcePool/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetDeploymentResourcePool",
"fullName": "google.cloud.aiplatform.v1.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.v1.DeploymentResourcePoolClient"
},
"method": {
"shortName": "GetDeploymentResourcePool",
"fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService.GetDeploymentResourcePool",
"service": {
"shortName": "DeploymentResourcePoolService",
"fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_GetIamPolicy_sync",
"title": "aiplatform GetIamPolicy Sample",
"description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.",
"file": "DeploymentResourcePoolClient/GetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.DeploymentResourcePoolClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_GetLocation_sync",
"title": "aiplatform GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "DeploymentResourcePoolClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1.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.v1.DeploymentResourcePoolClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_GetOperation_sync",
"title": "aiplatform GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "DeploymentResourcePoolClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.DeploymentResourcePoolClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_ListDeploymentResourcePools_sync",
"title": "aiplatform ListDeploymentResourcePools Sample",
"description": "ListDeploymentResourcePools list DeploymentResourcePools in a location.",
"file": "DeploymentResourcePoolClient/ListDeploymentResourcePools/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListDeploymentResourcePools",
"fullName": "google.cloud.aiplatform.v1.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.v1.DeploymentResourcePoolClient"
},
"method": {
"shortName": "ListDeploymentResourcePools",
"fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService.ListDeploymentResourcePools",
"service": {
"shortName": "DeploymentResourcePoolService",
"fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_ListLocations_sync",
"title": "aiplatform ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "DeploymentResourcePoolClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1.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.v1.DeploymentResourcePoolClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_ListOperations_sync",
"title": "aiplatform ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "DeploymentResourcePoolClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1.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.v1.DeploymentResourcePoolClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_QueryDeployedModels_sync",
"title": "aiplatform QueryDeployedModels Sample",
"description": "QueryDeployedModels list DeployedModels that have been deployed on this DeploymentResourcePool.",
"file": "DeploymentResourcePoolClient/QueryDeployedModels/main.go",
"language": "GO",
"clientMethod": {
"shortName": "QueryDeployedModels",
"fullName": "google.cloud.aiplatform.v1.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.v1.DeploymentResourcePoolClient"
},
"method": {
"shortName": "QueryDeployedModels",
"fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService.QueryDeployedModels",
"service": {
"shortName": "DeploymentResourcePoolService",
"fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_SetIamPolicy_sync",
"title": "aiplatform SetIamPolicy Sample",
"description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.",
"file": "DeploymentResourcePoolClient/SetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.DeploymentResourcePoolClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_TestIamPermissions_sync",
"title": "aiplatform TestIamPermissions Sample",
"description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.",
"file": "DeploymentResourcePoolClient/TestIamPermissions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1.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.v1.DeploymentResourcePoolClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_DeploymentResourcePoolService_WaitOperation_sync",
"title": "aiplatform WaitOperation Sample",
"description": "WaitOperation is a utility method from google.longrunning.Operations.",
"file": "DeploymentResourcePoolClient/WaitOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.DeploymentResourcePoolClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.longrunning.Operations.WaitOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_EndpointService_CancelOperation_sync",
"title": "aiplatform CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "EndpointClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.EndpointClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_EndpointService_CreateEndpoint_sync",
"title": "aiplatform CreateEndpoint Sample",
"description": "CreateEndpoint creates an Endpoint.",
"file": "EndpointClient/CreateEndpoint/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateEndpoint",
"fullName": "google.cloud.aiplatform.v1.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.v1.EndpointClient"
},
"method": {
"shortName": "CreateEndpoint",
"fullName": "google.cloud.aiplatform.v1.EndpointService.CreateEndpoint",
"service": {
"shortName": "EndpointService",
"fullName": "google.cloud.aiplatform.v1.EndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_EndpointService_DeleteEndpoint_sync",
"title": "aiplatform DeleteEndpoint Sample",
"description": "DeleteEndpoint deletes an Endpoint.",
"file": "EndpointClient/DeleteEndpoint/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteEndpoint",
"fullName": "google.cloud.aiplatform.v1.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.v1.EndpointClient"
},
"method": {
"shortName": "DeleteEndpoint",
"fullName": "google.cloud.aiplatform.v1.EndpointService.DeleteEndpoint",
"service": {
"shortName": "EndpointService",
"fullName": "google.cloud.aiplatform.v1.EndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_EndpointService_DeleteOperation_sync",
"title": "aiplatform DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "EndpointClient/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.EndpointClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.longrunning.Operations.DeleteOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_EndpointService_DeployModel_sync",
"title": "aiplatform DeployModel Sample",
"description": "DeployModel deploys a Model into this Endpoint, creating a DeployedModel within it.",
"file": "EndpointClient/DeployModel/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeployModel",
"fullName": "google.cloud.aiplatform.v1.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.v1.EndpointClient"
},
"method": {
"shortName": "DeployModel",
"fullName": "google.cloud.aiplatform.v1.EndpointService.DeployModel",
"service": {
"shortName": "EndpointService",
"fullName": "google.cloud.aiplatform.v1.EndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_EndpointService_GetEndpoint_sync",
"title": "aiplatform GetEndpoint Sample",
"description": "GetEndpoint gets an Endpoint.",
"file": "EndpointClient/GetEndpoint/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetEndpoint",
"fullName": "google.cloud.aiplatform.v1.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.v1.EndpointClient"
},
"method": {
"shortName": "GetEndpoint",
"fullName": "google.cloud.aiplatform.v1.EndpointService.GetEndpoint",
"service": {
"shortName": "EndpointService",
"fullName": "google.cloud.aiplatform.v1.EndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_EndpointService_GetIamPolicy_sync",
"title": "aiplatform GetIamPolicy Sample",
"description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.",
"file": "EndpointClient/GetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.EndpointClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_EndpointService_GetLocation_sync",
"title": "aiplatform GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "EndpointClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1.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.v1.EndpointClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_EndpointService_GetOperation_sync",
"title": "aiplatform GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "EndpointClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.EndpointClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_EndpointService_ListEndpoints_sync",
"title": "aiplatform ListEndpoints Sample",
"description": "ListEndpoints lists Endpoints in a Location.",
"file": "EndpointClient/ListEndpoints/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListEndpoints",
"fullName": "google.cloud.aiplatform.v1.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.v1.EndpointClient"
},
"method": {
"shortName": "ListEndpoints",
"fullName": "google.cloud.aiplatform.v1.EndpointService.ListEndpoints",
"service": {
"shortName": "EndpointService",
"fullName": "google.cloud.aiplatform.v1.EndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_EndpointService_ListLocations_sync",
"title": "aiplatform ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "EndpointClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1.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.v1.EndpointClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_EndpointService_ListOperations_sync",
"title": "aiplatform ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "EndpointClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1.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.v1.EndpointClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_EndpointService_MutateDeployedModel_sync",
"title": "aiplatform MutateDeployedModel Sample",
"description": "MutateDeployedModel updates an existing deployed model. Updatable fields include\n`min_replica_count`, `max_replica_count`, `autoscaling_metric_specs`,\n`disable_container_logging` (v1 only), and `enable_container_logging`\n(v1beta1 only).",
"file": "EndpointClient/MutateDeployedModel/main.go",
"language": "GO",
"clientMethod": {
"shortName": "MutateDeployedModel",
"fullName": "google.cloud.aiplatform.v1.EndpointClient.MutateDeployedModel",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.MutateDeployedModelRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "MutateDeployedModelOperation",
"client": {
"shortName": "EndpointClient",
"fullName": "google.cloud.aiplatform.v1.EndpointClient"
},
"method": {
"shortName": "MutateDeployedModel",
"fullName": "google.cloud.aiplatform.v1.EndpointService.MutateDeployedModel",
"service": {
"shortName": "EndpointService",
"fullName": "google.cloud.aiplatform.v1.EndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_EndpointService_SetIamPolicy_sync",
"title": "aiplatform SetIamPolicy Sample",
"description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.",
"file": "EndpointClient/SetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.EndpointClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_EndpointService_TestIamPermissions_sync",
"title": "aiplatform TestIamPermissions Sample",
"description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.",
"file": "EndpointClient/TestIamPermissions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1.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.v1.EndpointClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_EndpointService_UndeployModel_sync",
"title": "aiplatform UndeployModel Sample",
"description": "UndeployModel undeploys a Model from an Endpoint, removing a DeployedModel from it, and\nfreeing all resources it's using.",
"file": "EndpointClient/UndeployModel/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UndeployModel",
"fullName": "google.cloud.aiplatform.v1.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.v1.EndpointClient"
},
"method": {
"shortName": "UndeployModel",
"fullName": "google.cloud.aiplatform.v1.EndpointService.UndeployModel",
"service": {
"shortName": "EndpointService",
"fullName": "google.cloud.aiplatform.v1.EndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_EndpointService_UpdateEndpoint_sync",
"title": "aiplatform UpdateEndpoint Sample",
"description": "UpdateEndpoint updates an Endpoint.",
"file": "EndpointClient/UpdateEndpoint/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateEndpoint",
"fullName": "google.cloud.aiplatform.v1.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.v1.EndpointClient"
},
"method": {
"shortName": "UpdateEndpoint",
"fullName": "google.cloud.aiplatform.v1.EndpointService.UpdateEndpoint",
"service": {
"shortName": "EndpointService",
"fullName": "google.cloud.aiplatform.v1.EndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_EndpointService_WaitOperation_sync",
"title": "aiplatform WaitOperation Sample",
"description": "WaitOperation is a utility method from google.longrunning.Operations.",
"file": "EndpointClient/WaitOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.EndpointClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.longrunning.Operations.WaitOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_CancelOperation_sync",
"title": "aiplatform CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "FeatureOnlineStoreAdminClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "FeatureOnlineStoreAdminClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_CreateFeatureOnlineStore_sync",
"title": "aiplatform CreateFeatureOnlineStore Sample",
"description": "CreateFeatureOnlineStore creates a new FeatureOnlineStore in a given project and location.",
"file": "FeatureOnlineStoreAdminClient/CreateFeatureOnlineStore/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateFeatureOnlineStore",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.CreateFeatureOnlineStore",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateFeatureOnlineStoreRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "CreateFeatureOnlineStoreOperation",
"client": {
"shortName": "FeatureOnlineStoreAdminClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient"
},
"method": {
"shortName": "CreateFeatureOnlineStore",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.CreateFeatureOnlineStore",
"service": {
"shortName": "FeatureOnlineStoreAdminService",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_CreateFeatureView_sync",
"title": "aiplatform CreateFeatureView Sample",
"description": "CreateFeatureView creates a new FeatureView in a given FeatureOnlineStore.",
"file": "FeatureOnlineStoreAdminClient/CreateFeatureView/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateFeatureView",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.CreateFeatureView",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateFeatureViewRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "CreateFeatureViewOperation",
"client": {
"shortName": "FeatureOnlineStoreAdminClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient"
},
"method": {
"shortName": "CreateFeatureView",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.CreateFeatureView",
"service": {
"shortName": "FeatureOnlineStoreAdminService",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_DeleteFeatureOnlineStore_sync",
"title": "aiplatform DeleteFeatureOnlineStore Sample",
"description": "DeleteFeatureOnlineStore deletes a single FeatureOnlineStore. The FeatureOnlineStore must not\ncontain any FeatureViews.",
"file": "FeatureOnlineStoreAdminClient/DeleteFeatureOnlineStore/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteFeatureOnlineStore",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.DeleteFeatureOnlineStore",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteFeatureOnlineStoreRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DeleteFeatureOnlineStoreOperation",
"client": {
"shortName": "FeatureOnlineStoreAdminClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient"
},
"method": {
"shortName": "DeleteFeatureOnlineStore",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.DeleteFeatureOnlineStore",
"service": {
"shortName": "FeatureOnlineStoreAdminService",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_DeleteFeatureView_sync",
"title": "aiplatform DeleteFeatureView Sample",
"description": "DeleteFeatureView deletes a single FeatureView.",
"file": "FeatureOnlineStoreAdminClient/DeleteFeatureView/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteFeatureView",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.DeleteFeatureView",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteFeatureViewRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DeleteFeatureViewOperation",
"client": {
"shortName": "FeatureOnlineStoreAdminClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient"
},
"method": {
"shortName": "DeleteFeatureView",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.DeleteFeatureView",
"service": {
"shortName": "FeatureOnlineStoreAdminService",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_DeleteOperation_sync",
"title": "aiplatform DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "FeatureOnlineStoreAdminClient/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.DeleteOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.DeleteOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "FeatureOnlineStoreAdminClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.longrunning.Operations.DeleteOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_GetFeatureOnlineStore_sync",
"title": "aiplatform GetFeatureOnlineStore Sample",
"description": "GetFeatureOnlineStore gets details of a single FeatureOnlineStore.",
"file": "FeatureOnlineStoreAdminClient/GetFeatureOnlineStore/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetFeatureOnlineStore",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.GetFeatureOnlineStore",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetFeatureOnlineStoreRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.FeatureOnlineStore",
"client": {
"shortName": "FeatureOnlineStoreAdminClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient"
},
"method": {
"shortName": "GetFeatureOnlineStore",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.GetFeatureOnlineStore",
"service": {
"shortName": "FeatureOnlineStoreAdminService",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_GetFeatureView_sync",
"title": "aiplatform GetFeatureView Sample",
"description": "GetFeatureView gets details of a single FeatureView.",
"file": "FeatureOnlineStoreAdminClient/GetFeatureView/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetFeatureView",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.GetFeatureView",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetFeatureViewRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.FeatureView",
"client": {
"shortName": "FeatureOnlineStoreAdminClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient"
},
"method": {
"shortName": "GetFeatureView",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.GetFeatureView",
"service": {
"shortName": "FeatureOnlineStoreAdminService",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_GetFeatureViewSync_sync",
"title": "aiplatform GetFeatureViewSync Sample",
"description": "GetFeatureViewSync gets details of a single FeatureViewSync.",
"file": "FeatureOnlineStoreAdminClient/GetFeatureViewSync/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetFeatureViewSync",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.GetFeatureViewSync",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetFeatureViewSyncRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.FeatureViewSync",
"client": {
"shortName": "FeatureOnlineStoreAdminClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient"
},
"method": {
"shortName": "GetFeatureViewSync",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.GetFeatureViewSync",
"service": {
"shortName": "FeatureOnlineStoreAdminService",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_GetIamPolicy_sync",
"title": "aiplatform GetIamPolicy Sample",
"description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.",
"file": "FeatureOnlineStoreAdminClient/GetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.GetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.GetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*iampb.Policy",
"client": {
"shortName": "FeatureOnlineStoreAdminClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_GetLocation_sync",
"title": "aiplatform GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "FeatureOnlineStoreAdminClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*locationpb.Location",
"client": {
"shortName": "FeatureOnlineStoreAdminClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_GetOperation_sync",
"title": "aiplatform GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "FeatureOnlineStoreAdminClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*longrunningpb.Operation",
"client": {
"shortName": "FeatureOnlineStoreAdminClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_ListFeatureOnlineStores_sync",
"title": "aiplatform ListFeatureOnlineStores Sample",
"description": "ListFeatureOnlineStores lists FeatureOnlineStores in a given project and location.",
"file": "FeatureOnlineStoreAdminClient/ListFeatureOnlineStores/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListFeatureOnlineStores",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.ListFeatureOnlineStores",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListFeatureOnlineStoresRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "FeatureOnlineStoreIterator",
"client": {
"shortName": "FeatureOnlineStoreAdminClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient"
},
"method": {
"shortName": "ListFeatureOnlineStores",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.ListFeatureOnlineStores",
"service": {
"shortName": "FeatureOnlineStoreAdminService",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_ListFeatureViewSyncs_sync",
"title": "aiplatform ListFeatureViewSyncs Sample",
"description": "ListFeatureViewSyncs lists FeatureViewSyncs in a given FeatureView.",
"file": "FeatureOnlineStoreAdminClient/ListFeatureViewSyncs/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListFeatureViewSyncs",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.ListFeatureViewSyncs",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListFeatureViewSyncsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "FeatureViewSyncIterator",
"client": {
"shortName": "FeatureOnlineStoreAdminClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient"
},
"method": {
"shortName": "ListFeatureViewSyncs",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.ListFeatureViewSyncs",
"service": {
"shortName": "FeatureOnlineStoreAdminService",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_ListFeatureViews_sync",
"title": "aiplatform ListFeatureViews Sample",
"description": "ListFeatureViews lists FeatureViews in a given FeatureOnlineStore.",
"file": "FeatureOnlineStoreAdminClient/ListFeatureViews/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListFeatureViews",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.ListFeatureViews",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListFeatureViewsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "FeatureViewIterator",
"client": {
"shortName": "FeatureOnlineStoreAdminClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient"
},
"method": {
"shortName": "ListFeatureViews",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.ListFeatureViews",
"service": {
"shortName": "FeatureOnlineStoreAdminService",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_ListLocations_sync",
"title": "aiplatform ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "FeatureOnlineStoreAdminClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "FeatureOnlineStoreAdminClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_ListOperations_sync",
"title": "aiplatform ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "FeatureOnlineStoreAdminClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "FeatureOnlineStoreAdminClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_SetIamPolicy_sync",
"title": "aiplatform SetIamPolicy Sample",
"description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.",
"file": "FeatureOnlineStoreAdminClient/SetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.SetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.SetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*iampb.Policy",
"client": {
"shortName": "FeatureOnlineStoreAdminClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_SyncFeatureView_sync",
"title": "aiplatform SyncFeatureView Sample",
"description": "SyncFeatureView triggers on-demand sync for the FeatureView.",
"file": "FeatureOnlineStoreAdminClient/SyncFeatureView/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SyncFeatureView",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.SyncFeatureView",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.SyncFeatureViewRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.SyncFeatureViewResponse",
"client": {
"shortName": "FeatureOnlineStoreAdminClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient"
},
"method": {
"shortName": "SyncFeatureView",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.SyncFeatureView",
"service": {
"shortName": "FeatureOnlineStoreAdminService",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_TestIamPermissions_sync",
"title": "aiplatform TestIamPermissions Sample",
"description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.",
"file": "FeatureOnlineStoreAdminClient/TestIamPermissions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.TestIamPermissions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.TestIamPermissionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*iampb.TestIamPermissionsResponse",
"client": {
"shortName": "FeatureOnlineStoreAdminClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_UpdateFeatureOnlineStore_sync",
"title": "aiplatform UpdateFeatureOnlineStore Sample",
"description": "UpdateFeatureOnlineStore updates the parameters of a single FeatureOnlineStore.",
"file": "FeatureOnlineStoreAdminClient/UpdateFeatureOnlineStore/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateFeatureOnlineStore",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.UpdateFeatureOnlineStore",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UpdateFeatureOnlineStoreRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "UpdateFeatureOnlineStoreOperation",
"client": {
"shortName": "FeatureOnlineStoreAdminClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient"
},
"method": {
"shortName": "UpdateFeatureOnlineStore",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.UpdateFeatureOnlineStore",
"service": {
"shortName": "FeatureOnlineStoreAdminService",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_UpdateFeatureView_sync",
"title": "aiplatform UpdateFeatureView Sample",
"description": "UpdateFeatureView updates the parameters of a single FeatureView.",
"file": "FeatureOnlineStoreAdminClient/UpdateFeatureView/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateFeatureView",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.UpdateFeatureView",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UpdateFeatureViewRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "UpdateFeatureViewOperation",
"client": {
"shortName": "FeatureOnlineStoreAdminClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient"
},
"method": {
"shortName": "UpdateFeatureView",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.UpdateFeatureView",
"service": {
"shortName": "FeatureOnlineStoreAdminService",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreAdminService_WaitOperation_sync",
"title": "aiplatform WaitOperation Sample",
"description": "WaitOperation is a utility method from google.longrunning.Operations.",
"file": "FeatureOnlineStoreAdminClient/WaitOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient.WaitOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.WaitOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*longrunningpb.Operation",
"client": {
"shortName": "FeatureOnlineStoreAdminClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.longrunning.Operations.WaitOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_CancelOperation_sync",
"title": "aiplatform CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "FeatureOnlineStoreClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "FeatureOnlineStoreClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_DeleteOperation_sync",
"title": "aiplatform DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "FeatureOnlineStoreClient/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient.DeleteOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.DeleteOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "FeatureOnlineStoreClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.longrunning.Operations.DeleteOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_FetchFeatureValues_sync",
"title": "aiplatform FetchFeatureValues Sample",
"description": "FetchFeatureValues fetch feature values under a FeatureView.",
"file": "FeatureOnlineStoreClient/FetchFeatureValues/main.go",
"language": "GO",
"clientMethod": {
"shortName": "FetchFeatureValues",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient.FetchFeatureValues",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.FetchFeatureValuesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.FetchFeatureValuesResponse",
"client": {
"shortName": "FeatureOnlineStoreClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient"
},
"method": {
"shortName": "FetchFeatureValues",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreService.FetchFeatureValues",
"service": {
"shortName": "FeatureOnlineStoreService",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_GetIamPolicy_sync",
"title": "aiplatform GetIamPolicy Sample",
"description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.",
"file": "FeatureOnlineStoreClient/GetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient.GetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.GetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*iampb.Policy",
"client": {
"shortName": "FeatureOnlineStoreClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_GetLocation_sync",
"title": "aiplatform GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "FeatureOnlineStoreClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*locationpb.Location",
"client": {
"shortName": "FeatureOnlineStoreClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_GetOperation_sync",
"title": "aiplatform GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "FeatureOnlineStoreClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*longrunningpb.Operation",
"client": {
"shortName": "FeatureOnlineStoreClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_ListLocations_sync",
"title": "aiplatform ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "FeatureOnlineStoreClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "FeatureOnlineStoreClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_ListOperations_sync",
"title": "aiplatform ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "FeatureOnlineStoreClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "FeatureOnlineStoreClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_SearchNearestEntities_sync",
"title": "aiplatform SearchNearestEntities Sample",
"description": "SearchNearestEntities search the nearest entities under a FeatureView.\nSearch only works for indexable feature view; if a feature view isn't\nindexable, returns Invalid argument response.",
"file": "FeatureOnlineStoreClient/SearchNearestEntities/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SearchNearestEntities",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient.SearchNearestEntities",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.SearchNearestEntitiesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.SearchNearestEntitiesResponse",
"client": {
"shortName": "FeatureOnlineStoreClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient"
},
"method": {
"shortName": "SearchNearestEntities",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreService.SearchNearestEntities",
"service": {
"shortName": "FeatureOnlineStoreService",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_SetIamPolicy_sync",
"title": "aiplatform SetIamPolicy Sample",
"description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.",
"file": "FeatureOnlineStoreClient/SetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient.SetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.SetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*iampb.Policy",
"client": {
"shortName": "FeatureOnlineStoreClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_TestIamPermissions_sync",
"title": "aiplatform TestIamPermissions Sample",
"description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.",
"file": "FeatureOnlineStoreClient/TestIamPermissions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient.TestIamPermissions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.TestIamPermissionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*iampb.TestIamPermissionsResponse",
"client": {
"shortName": "FeatureOnlineStoreClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureOnlineStoreService_WaitOperation_sync",
"title": "aiplatform WaitOperation Sample",
"description": "WaitOperation is a utility method from google.longrunning.Operations.",
"file": "FeatureOnlineStoreClient/WaitOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient.WaitOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.WaitOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*longrunningpb.Operation",
"client": {
"shortName": "FeatureOnlineStoreClient",
"fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.longrunning.Operations.WaitOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureRegistryService_CancelOperation_sync",
"title": "aiplatform CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "FeatureRegistryClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "FeatureRegistryClient",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureRegistryService_CreateFeature_sync",
"title": "aiplatform CreateFeature Sample",
"description": "CreateFeature creates a new Feature in a given FeatureGroup.",
"file": "FeatureRegistryClient/CreateFeature/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateFeature",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.CreateFeature",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateFeatureRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "CreateFeatureOperation",
"client": {
"shortName": "FeatureRegistryClient",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient"
},
"method": {
"shortName": "CreateFeature",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.CreateFeature",
"service": {
"shortName": "FeatureRegistryService",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureRegistryService_CreateFeatureGroup_sync",
"title": "aiplatform CreateFeatureGroup Sample",
"description": "CreateFeatureGroup creates a new FeatureGroup in a given project and location.",
"file": "FeatureRegistryClient/CreateFeatureGroup/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateFeatureGroup",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.CreateFeatureGroup",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateFeatureGroupRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "CreateFeatureGroupOperation",
"client": {
"shortName": "FeatureRegistryClient",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient"
},
"method": {
"shortName": "CreateFeatureGroup",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.CreateFeatureGroup",
"service": {
"shortName": "FeatureRegistryService",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureRegistryService_DeleteFeature_sync",
"title": "aiplatform DeleteFeature Sample",
"description": "DeleteFeature deletes a single Feature.",
"file": "FeatureRegistryClient/DeleteFeature/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteFeature",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.DeleteFeature",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteFeatureRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DeleteFeatureOperation",
"client": {
"shortName": "FeatureRegistryClient",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient"
},
"method": {
"shortName": "DeleteFeature",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.DeleteFeature",
"service": {
"shortName": "FeatureRegistryService",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureRegistryService_DeleteFeatureGroup_sync",
"title": "aiplatform DeleteFeatureGroup Sample",
"description": "DeleteFeatureGroup deletes a single FeatureGroup.",
"file": "FeatureRegistryClient/DeleteFeatureGroup/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteFeatureGroup",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.DeleteFeatureGroup",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteFeatureGroupRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DeleteFeatureGroupOperation",
"client": {
"shortName": "FeatureRegistryClient",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient"
},
"method": {
"shortName": "DeleteFeatureGroup",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.DeleteFeatureGroup",
"service": {
"shortName": "FeatureRegistryService",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureRegistryService_DeleteOperation_sync",
"title": "aiplatform DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "FeatureRegistryClient/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.DeleteOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.DeleteOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "FeatureRegistryClient",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.longrunning.Operations.DeleteOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureRegistryService_GetFeature_sync",
"title": "aiplatform GetFeature Sample",
"description": "GetFeature gets details of a single Feature.",
"file": "FeatureRegistryClient/GetFeature/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetFeature",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.GetFeature",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetFeatureRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.Feature",
"client": {
"shortName": "FeatureRegistryClient",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient"
},
"method": {
"shortName": "GetFeature",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.GetFeature",
"service": {
"shortName": "FeatureRegistryService",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureRegistryService_GetFeatureGroup_sync",
"title": "aiplatform GetFeatureGroup Sample",
"description": "GetFeatureGroup gets details of a single FeatureGroup.",
"file": "FeatureRegistryClient/GetFeatureGroup/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetFeatureGroup",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.GetFeatureGroup",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetFeatureGroupRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.FeatureGroup",
"client": {
"shortName": "FeatureRegistryClient",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient"
},
"method": {
"shortName": "GetFeatureGroup",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.GetFeatureGroup",
"service": {
"shortName": "FeatureRegistryService",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureRegistryService_GetIamPolicy_sync",
"title": "aiplatform GetIamPolicy Sample",
"description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.",
"file": "FeatureRegistryClient/GetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.GetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.GetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*iampb.Policy",
"client": {
"shortName": "FeatureRegistryClient",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureRegistryService_GetLocation_sync",
"title": "aiplatform GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "FeatureRegistryClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*locationpb.Location",
"client": {
"shortName": "FeatureRegistryClient",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureRegistryService_GetOperation_sync",
"title": "aiplatform GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "FeatureRegistryClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*longrunningpb.Operation",
"client": {
"shortName": "FeatureRegistryClient",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureRegistryService_ListFeatureGroups_sync",
"title": "aiplatform ListFeatureGroups Sample",
"description": "ListFeatureGroups lists FeatureGroups in a given project and location.",
"file": "FeatureRegistryClient/ListFeatureGroups/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListFeatureGroups",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.ListFeatureGroups",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListFeatureGroupsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "FeatureGroupIterator",
"client": {
"shortName": "FeatureRegistryClient",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient"
},
"method": {
"shortName": "ListFeatureGroups",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.ListFeatureGroups",
"service": {
"shortName": "FeatureRegistryService",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureRegistryService_ListFeatures_sync",
"title": "aiplatform ListFeatures Sample",
"description": "ListFeatures lists Features in a given FeatureGroup.",
"file": "FeatureRegistryClient/ListFeatures/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListFeatures",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.ListFeatures",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListFeaturesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "FeatureIterator",
"client": {
"shortName": "FeatureRegistryClient",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient"
},
"method": {
"shortName": "ListFeatures",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.ListFeatures",
"service": {
"shortName": "FeatureRegistryService",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureRegistryService_ListLocations_sync",
"title": "aiplatform ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "FeatureRegistryClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "FeatureRegistryClient",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureRegistryService_ListOperations_sync",
"title": "aiplatform ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "FeatureRegistryClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "FeatureRegistryClient",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureRegistryService_SetIamPolicy_sync",
"title": "aiplatform SetIamPolicy Sample",
"description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.",
"file": "FeatureRegistryClient/SetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.SetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.SetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*iampb.Policy",
"client": {
"shortName": "FeatureRegistryClient",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureRegistryService_TestIamPermissions_sync",
"title": "aiplatform TestIamPermissions Sample",
"description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.",
"file": "FeatureRegistryClient/TestIamPermissions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.TestIamPermissions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.TestIamPermissionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*iampb.TestIamPermissionsResponse",
"client": {
"shortName": "FeatureRegistryClient",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureRegistryService_UpdateFeature_sync",
"title": "aiplatform UpdateFeature Sample",
"description": "UpdateFeature updates the parameters of a single Feature.",
"file": "FeatureRegistryClient/UpdateFeature/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateFeature",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.UpdateFeature",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UpdateFeatureRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "UpdateFeatureOperation",
"client": {
"shortName": "FeatureRegistryClient",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient"
},
"method": {
"shortName": "UpdateFeature",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.UpdateFeature",
"service": {
"shortName": "FeatureRegistryService",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureRegistryService_UpdateFeatureGroup_sync",
"title": "aiplatform UpdateFeatureGroup Sample",
"description": "UpdateFeatureGroup updates the parameters of a single FeatureGroup.",
"file": "FeatureRegistryClient/UpdateFeatureGroup/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateFeatureGroup",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.UpdateFeatureGroup",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UpdateFeatureGroupRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "UpdateFeatureGroupOperation",
"client": {
"shortName": "FeatureRegistryClient",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient"
},
"method": {
"shortName": "UpdateFeatureGroup",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.UpdateFeatureGroup",
"service": {
"shortName": "FeatureRegistryService",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeatureRegistryService_WaitOperation_sync",
"title": "aiplatform WaitOperation Sample",
"description": "WaitOperation is a utility method from google.longrunning.Operations.",
"file": "FeatureRegistryClient/WaitOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient.WaitOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.WaitOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*longrunningpb.Operation",
"client": {
"shortName": "FeatureRegistryClient",
"fullName": "google.cloud.aiplatform.v1.FeatureRegistryClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.longrunning.Operations.WaitOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_CancelOperation_sync",
"title": "aiplatform CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "FeaturestoreOnlineServingClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreOnlineServingClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_DeleteOperation_sync",
"title": "aiplatform DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "FeaturestoreOnlineServingClient/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreOnlineServingClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.longrunning.Operations.DeleteOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_GetIamPolicy_sync",
"title": "aiplatform GetIamPolicy Sample",
"description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.",
"file": "FeaturestoreOnlineServingClient/GetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreOnlineServingClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_GetLocation_sync",
"title": "aiplatform GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "FeaturestoreOnlineServingClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreOnlineServingClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_GetOperation_sync",
"title": "aiplatform GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "FeaturestoreOnlineServingClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreOnlineServingClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_ListLocations_sync",
"title": "aiplatform ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "FeaturestoreOnlineServingClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreOnlineServingClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_ListOperations_sync",
"title": "aiplatform ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "FeaturestoreOnlineServingClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreOnlineServingClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_ReadFeatureValues_sync",
"title": "aiplatform ReadFeatureValues Sample",
"description": "ReadFeatureValues reads Feature values of a specific entity of an EntityType. For reading\nfeature values of multiple entities of an EntityType, please use\nStreamingReadFeatureValues.",
"file": "FeaturestoreOnlineServingClient/ReadFeatureValues/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ReadFeatureValues",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreOnlineServingClient"
},
"method": {
"shortName": "ReadFeatureValues",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingService.ReadFeatureValues",
"service": {
"shortName": "FeaturestoreOnlineServingService",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_SetIamPolicy_sync",
"title": "aiplatform SetIamPolicy Sample",
"description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.",
"file": "FeaturestoreOnlineServingClient/SetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreOnlineServingClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_TestIamPermissions_sync",
"title": "aiplatform TestIamPermissions Sample",
"description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.",
"file": "FeaturestoreOnlineServingClient/TestIamPermissions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreOnlineServingClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_WaitOperation_sync",
"title": "aiplatform WaitOperation Sample",
"description": "WaitOperation is a utility method from google.longrunning.Operations.",
"file": "FeaturestoreOnlineServingClient/WaitOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreOnlineServingClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.longrunning.Operations.WaitOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreOnlineServingService_WriteFeatureValues_sync",
"title": "aiplatform WriteFeatureValues Sample",
"description": "WriteFeatureValues writes Feature values of one or more entities of an EntityType.\n\nThe Feature values are merged into existing entities if any. The Feature\nvalues to be written must have timestamp within the online storage\nretention.",
"file": "FeaturestoreOnlineServingClient/WriteFeatureValues/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WriteFeatureValues",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreOnlineServingClient"
},
"method": {
"shortName": "WriteFeatureValues",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingService.WriteFeatureValues",
"service": {
"shortName": "FeaturestoreOnlineServingService",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_BatchCreateFeatures_sync",
"title": "aiplatform BatchCreateFeatures Sample",
"description": "BatchCreateFeatures creates a batch of Features in a given EntityType.",
"file": "FeaturestoreClient/BatchCreateFeatures/main.go",
"language": "GO",
"clientMethod": {
"shortName": "BatchCreateFeatures",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "BatchCreateFeatures",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService.BatchCreateFeatures",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_BatchReadFeatureValues_sync",
"title": "aiplatform BatchReadFeatureValues Sample",
"description": "BatchReadFeatureValues batch reads Feature values from a Featurestore.\n\nThis API enables batch reading Feature values, where each read\ninstance in the batch may read Feature values of entities from one or\nmore EntityTypes. Point-in-time correctness is guaranteed for Feature\nvalues of each read instance as of each instance's read timestamp.",
"file": "FeaturestoreClient/BatchReadFeatureValues/main.go",
"language": "GO",
"clientMethod": {
"shortName": "BatchReadFeatureValues",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "BatchReadFeatureValues",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService.BatchReadFeatureValues",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_CancelOperation_sync",
"title": "aiplatform CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "FeaturestoreClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_CreateEntityType_sync",
"title": "aiplatform CreateEntityType Sample",
"description": "CreateEntityType creates a new EntityType in a given Featurestore.",
"file": "FeaturestoreClient/CreateEntityType/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateEntityType",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "CreateEntityType",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService.CreateEntityType",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_CreateFeature_sync",
"title": "aiplatform CreateFeature Sample",
"description": "CreateFeature creates a new Feature in a given EntityType.",
"file": "FeaturestoreClient/CreateFeature/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateFeature",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "CreateFeature",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService.CreateFeature",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_CreateFeaturestore_sync",
"title": "aiplatform CreateFeaturestore Sample",
"description": "CreateFeaturestore creates a new Featurestore in a given project and location.",
"file": "FeaturestoreClient/CreateFeaturestore/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateFeaturestore",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "CreateFeaturestore",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService.CreateFeaturestore",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_DeleteEntityType_sync",
"title": "aiplatform DeleteEntityType Sample",
"description": "DeleteEntityType deletes a single EntityType. The EntityType must not have any Features\nor `force` must be set to true for the request to succeed.",
"file": "FeaturestoreClient/DeleteEntityType/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteEntityType",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "DeleteEntityType",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService.DeleteEntityType",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_DeleteFeature_sync",
"title": "aiplatform DeleteFeature Sample",
"description": "DeleteFeature deletes a single Feature.",
"file": "FeaturestoreClient/DeleteFeature/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteFeature",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "DeleteFeature",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService.DeleteFeature",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_DeleteFeatureValues_sync",
"title": "aiplatform DeleteFeatureValues Sample",
"description": "DeleteFeatureValues delete Feature values from Featurestore.\n\nThe progress of the deletion is tracked by the returned operation. The\ndeleted feature values are guaranteed to be invisible to subsequent read\noperations after the operation is marked as successfully done.\n\nIf a delete feature values operation fails, the feature values\nreturned from reads and exports may be inconsistent. If consistency is\nrequired, the caller must retry the same delete request again and wait till\nthe new operation returned is marked as successfully done.",
"file": "FeaturestoreClient/DeleteFeatureValues/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteFeatureValues",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "DeleteFeatureValues",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService.DeleteFeatureValues",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_DeleteFeaturestore_sync",
"title": "aiplatform DeleteFeaturestore Sample",
"description": "DeleteFeaturestore deletes a single Featurestore. The Featurestore must not contain any\nEntityTypes or `force` must be set to true for the request to succeed.",
"file": "FeaturestoreClient/DeleteFeaturestore/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteFeaturestore",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "DeleteFeaturestore",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService.DeleteFeaturestore",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_DeleteOperation_sync",
"title": "aiplatform DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "FeaturestoreClient/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.longrunning.Operations.DeleteOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_ExportFeatureValues_sync",
"title": "aiplatform ExportFeatureValues Sample",
"description": "ExportFeatureValues exports Feature values from all the entities of a target EntityType.",
"file": "FeaturestoreClient/ExportFeatureValues/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ExportFeatureValues",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "ExportFeatureValues",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService.ExportFeatureValues",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_GetEntityType_sync",
"title": "aiplatform GetEntityType Sample",
"description": "GetEntityType gets details of a single EntityType.",
"file": "FeaturestoreClient/GetEntityType/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetEntityType",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "GetEntityType",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService.GetEntityType",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_GetFeature_sync",
"title": "aiplatform GetFeature Sample",
"description": "GetFeature gets details of a single Feature.",
"file": "FeaturestoreClient/GetFeature/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetFeature",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "GetFeature",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService.GetFeature",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_GetFeaturestore_sync",
"title": "aiplatform GetFeaturestore Sample",
"description": "GetFeaturestore gets details of a single Featurestore.",
"file": "FeaturestoreClient/GetFeaturestore/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetFeaturestore",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "GetFeaturestore",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService.GetFeaturestore",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_GetIamPolicy_sync",
"title": "aiplatform GetIamPolicy Sample",
"description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.",
"file": "FeaturestoreClient/GetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_GetLocation_sync",
"title": "aiplatform GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "FeaturestoreClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_GetOperation_sync",
"title": "aiplatform GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "FeaturestoreClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_ImportFeatureValues_sync",
"title": "aiplatform ImportFeatureValues Sample",
"description": "ImportFeatureValues imports Feature values into the Featurestore from a source storage.\n\nThe progress of the import is tracked by the returned operation. The\nimported features are guaranteed to be visible to subsequent read\noperations after the operation is marked as successfully done.\n\nIf an import operation fails, the Feature values returned from\nreads and exports may be inconsistent. If consistency is\nrequired, the caller must retry the same import request again and wait till\nthe new operation returned is marked as successfully done.\n\nThere are also scenarios where the caller can cause inconsistency.\n\n- Source data for import contains multiple distinct Feature values for\nthe same entity ID and timestamp.\n- Source is modified during an import. This includes adding, updating, or\nremoving source data and/or metadata. Examples of updating metadata\ninclude but are not limited to changing storage location, storage class,\nor retention policy.\n- Online serving cluster is under-provisioned.",
"file": "FeaturestoreClient/ImportFeatureValues/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ImportFeatureValues",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "ImportFeatureValues",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService.ImportFeatureValues",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_ListEntityTypes_sync",
"title": "aiplatform ListEntityTypes Sample",
"description": "ListEntityTypes lists EntityTypes in a given Featurestore.",
"file": "FeaturestoreClient/ListEntityTypes/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListEntityTypes",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "ListEntityTypes",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService.ListEntityTypes",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_ListFeatures_sync",
"title": "aiplatform ListFeatures Sample",
"description": "ListFeatures lists Features in a given EntityType.",
"file": "FeaturestoreClient/ListFeatures/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListFeatures",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "ListFeatures",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService.ListFeatures",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_ListFeaturestores_sync",
"title": "aiplatform ListFeaturestores Sample",
"description": "ListFeaturestores lists Featurestores in a given project and location.",
"file": "FeaturestoreClient/ListFeaturestores/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListFeaturestores",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "ListFeaturestores",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService.ListFeaturestores",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_ListLocations_sync",
"title": "aiplatform ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "FeaturestoreClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_ListOperations_sync",
"title": "aiplatform ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "FeaturestoreClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_SearchFeatures_sync",
"title": "aiplatform SearchFeatures Sample",
"description": "SearchFeatures searches Features matching a query in a given project.",
"file": "FeaturestoreClient/SearchFeatures/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SearchFeatures",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "SearchFeatures",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService.SearchFeatures",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_SetIamPolicy_sync",
"title": "aiplatform SetIamPolicy Sample",
"description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.",
"file": "FeaturestoreClient/SetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_TestIamPermissions_sync",
"title": "aiplatform TestIamPermissions Sample",
"description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.",
"file": "FeaturestoreClient/TestIamPermissions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_UpdateEntityType_sync",
"title": "aiplatform UpdateEntityType Sample",
"description": "UpdateEntityType updates the parameters of a single EntityType.",
"file": "FeaturestoreClient/UpdateEntityType/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateEntityType",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "UpdateEntityType",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService.UpdateEntityType",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_UpdateFeature_sync",
"title": "aiplatform UpdateFeature Sample",
"description": "UpdateFeature updates the parameters of a single Feature.",
"file": "FeaturestoreClient/UpdateFeature/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateFeature",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "UpdateFeature",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService.UpdateFeature",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_UpdateFeaturestore_sync",
"title": "aiplatform UpdateFeaturestore Sample",
"description": "UpdateFeaturestore updates the parameters of a single Featurestore.",
"file": "FeaturestoreClient/UpdateFeaturestore/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateFeaturestore",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "UpdateFeaturestore",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService.UpdateFeaturestore",
"service": {
"shortName": "FeaturestoreService",
"fullName": "google.cloud.aiplatform.v1.FeaturestoreService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_FeaturestoreService_WaitOperation_sync",
"title": "aiplatform WaitOperation Sample",
"description": "WaitOperation is a utility method from google.longrunning.Operations.",
"file": "FeaturestoreClient/WaitOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.FeaturestoreClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.longrunning.Operations.WaitOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexEndpointService_CancelOperation_sync",
"title": "aiplatform CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "IndexEndpointClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexEndpointClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexEndpointService_CreateIndexEndpoint_sync",
"title": "aiplatform CreateIndexEndpoint Sample",
"description": "CreateIndexEndpoint creates an IndexEndpoint.",
"file": "IndexEndpointClient/CreateIndexEndpoint/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateIndexEndpoint",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexEndpointClient"
},
"method": {
"shortName": "CreateIndexEndpoint",
"fullName": "google.cloud.aiplatform.v1.IndexEndpointService.CreateIndexEndpoint",
"service": {
"shortName": "IndexEndpointService",
"fullName": "google.cloud.aiplatform.v1.IndexEndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexEndpointService_DeleteIndexEndpoint_sync",
"title": "aiplatform DeleteIndexEndpoint Sample",
"description": "DeleteIndexEndpoint deletes an IndexEndpoint.",
"file": "IndexEndpointClient/DeleteIndexEndpoint/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteIndexEndpoint",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexEndpointClient"
},
"method": {
"shortName": "DeleteIndexEndpoint",
"fullName": "google.cloud.aiplatform.v1.IndexEndpointService.DeleteIndexEndpoint",
"service": {
"shortName": "IndexEndpointService",
"fullName": "google.cloud.aiplatform.v1.IndexEndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexEndpointService_DeleteOperation_sync",
"title": "aiplatform DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "IndexEndpointClient/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexEndpointClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.longrunning.Operations.DeleteOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexEndpointService_DeployIndex_sync",
"title": "aiplatform DeployIndex Sample",
"description": "DeployIndex deploys an Index into this IndexEndpoint, creating a DeployedIndex within\nit.\nOnly non-empty Indexes can be deployed.",
"file": "IndexEndpointClient/DeployIndex/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeployIndex",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexEndpointClient"
},
"method": {
"shortName": "DeployIndex",
"fullName": "google.cloud.aiplatform.v1.IndexEndpointService.DeployIndex",
"service": {
"shortName": "IndexEndpointService",
"fullName": "google.cloud.aiplatform.v1.IndexEndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexEndpointService_GetIamPolicy_sync",
"title": "aiplatform GetIamPolicy Sample",
"description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.",
"file": "IndexEndpointClient/GetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexEndpointClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexEndpointService_GetIndexEndpoint_sync",
"title": "aiplatform GetIndexEndpoint Sample",
"description": "GetIndexEndpoint gets an IndexEndpoint.",
"file": "IndexEndpointClient/GetIndexEndpoint/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetIndexEndpoint",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexEndpointClient"
},
"method": {
"shortName": "GetIndexEndpoint",
"fullName": "google.cloud.aiplatform.v1.IndexEndpointService.GetIndexEndpoint",
"service": {
"shortName": "IndexEndpointService",
"fullName": "google.cloud.aiplatform.v1.IndexEndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexEndpointService_GetLocation_sync",
"title": "aiplatform GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "IndexEndpointClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexEndpointClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexEndpointService_GetOperation_sync",
"title": "aiplatform GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "IndexEndpointClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexEndpointClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexEndpointService_ListIndexEndpoints_sync",
"title": "aiplatform ListIndexEndpoints Sample",
"description": "ListIndexEndpoints lists IndexEndpoints in a Location.",
"file": "IndexEndpointClient/ListIndexEndpoints/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListIndexEndpoints",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexEndpointClient"
},
"method": {
"shortName": "ListIndexEndpoints",
"fullName": "google.cloud.aiplatform.v1.IndexEndpointService.ListIndexEndpoints",
"service": {
"shortName": "IndexEndpointService",
"fullName": "google.cloud.aiplatform.v1.IndexEndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexEndpointService_ListLocations_sync",
"title": "aiplatform ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "IndexEndpointClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexEndpointClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexEndpointService_ListOperations_sync",
"title": "aiplatform ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "IndexEndpointClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexEndpointClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexEndpointService_MutateDeployedIndex_sync",
"title": "aiplatform MutateDeployedIndex Sample",
"description": "MutateDeployedIndex update an existing DeployedIndex under an IndexEndpoint.",
"file": "IndexEndpointClient/MutateDeployedIndex/main.go",
"language": "GO",
"clientMethod": {
"shortName": "MutateDeployedIndex",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexEndpointClient"
},
"method": {
"shortName": "MutateDeployedIndex",
"fullName": "google.cloud.aiplatform.v1.IndexEndpointService.MutateDeployedIndex",
"service": {
"shortName": "IndexEndpointService",
"fullName": "google.cloud.aiplatform.v1.IndexEndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexEndpointService_SetIamPolicy_sync",
"title": "aiplatform SetIamPolicy Sample",
"description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.",
"file": "IndexEndpointClient/SetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexEndpointClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexEndpointService_TestIamPermissions_sync",
"title": "aiplatform TestIamPermissions Sample",
"description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.",
"file": "IndexEndpointClient/TestIamPermissions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexEndpointClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexEndpointService_UndeployIndex_sync",
"title": "aiplatform UndeployIndex Sample",
"description": "UndeployIndex undeploys an Index from an IndexEndpoint, removing a DeployedIndex from it,\nand freeing all resources it's using.",
"file": "IndexEndpointClient/UndeployIndex/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UndeployIndex",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexEndpointClient"
},
"method": {
"shortName": "UndeployIndex",
"fullName": "google.cloud.aiplatform.v1.IndexEndpointService.UndeployIndex",
"service": {
"shortName": "IndexEndpointService",
"fullName": "google.cloud.aiplatform.v1.IndexEndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexEndpointService_UpdateIndexEndpoint_sync",
"title": "aiplatform UpdateIndexEndpoint Sample",
"description": "UpdateIndexEndpoint updates an IndexEndpoint.",
"file": "IndexEndpointClient/UpdateIndexEndpoint/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateIndexEndpoint",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexEndpointClient"
},
"method": {
"shortName": "UpdateIndexEndpoint",
"fullName": "google.cloud.aiplatform.v1.IndexEndpointService.UpdateIndexEndpoint",
"service": {
"shortName": "IndexEndpointService",
"fullName": "google.cloud.aiplatform.v1.IndexEndpointService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexEndpointService_WaitOperation_sync",
"title": "aiplatform WaitOperation Sample",
"description": "WaitOperation is a utility method from google.longrunning.Operations.",
"file": "IndexEndpointClient/WaitOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexEndpointClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.longrunning.Operations.WaitOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexService_CancelOperation_sync",
"title": "aiplatform CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "IndexClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexService_CreateIndex_sync",
"title": "aiplatform CreateIndex Sample",
"description": "CreateIndex creates an Index.",
"file": "IndexClient/CreateIndex/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateIndex",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexClient"
},
"method": {
"shortName": "CreateIndex",
"fullName": "google.cloud.aiplatform.v1.IndexService.CreateIndex",
"service": {
"shortName": "IndexService",
"fullName": "google.cloud.aiplatform.v1.IndexService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexService_DeleteIndex_sync",
"title": "aiplatform DeleteIndex Sample",
"description": "DeleteIndex deletes an Index.\nAn Index can only be deleted when all its\n[DeployedIndexes][google.cloud.aiplatform.v1.Index.deployed_indexes] had\nbeen undeployed.",
"file": "IndexClient/DeleteIndex/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteIndex",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexClient"
},
"method": {
"shortName": "DeleteIndex",
"fullName": "google.cloud.aiplatform.v1.IndexService.DeleteIndex",
"service": {
"shortName": "IndexService",
"fullName": "google.cloud.aiplatform.v1.IndexService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexService_DeleteOperation_sync",
"title": "aiplatform DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "IndexClient/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.longrunning.Operations.DeleteOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexService_GetIamPolicy_sync",
"title": "aiplatform GetIamPolicy Sample",
"description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.",
"file": "IndexClient/GetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexService_GetIndex_sync",
"title": "aiplatform GetIndex Sample",
"description": "GetIndex gets an Index.",
"file": "IndexClient/GetIndex/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetIndex",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexClient"
},
"method": {
"shortName": "GetIndex",
"fullName": "google.cloud.aiplatform.v1.IndexService.GetIndex",
"service": {
"shortName": "IndexService",
"fullName": "google.cloud.aiplatform.v1.IndexService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexService_GetLocation_sync",
"title": "aiplatform GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "IndexClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexService_GetOperation_sync",
"title": "aiplatform GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "IndexClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexService_ListIndexes_sync",
"title": "aiplatform ListIndexes Sample",
"description": "ListIndexes lists Indexes in a Location.",
"file": "IndexClient/ListIndexes/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListIndexes",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexClient"
},
"method": {
"shortName": "ListIndexes",
"fullName": "google.cloud.aiplatform.v1.IndexService.ListIndexes",
"service": {
"shortName": "IndexService",
"fullName": "google.cloud.aiplatform.v1.IndexService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexService_ListLocations_sync",
"title": "aiplatform ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "IndexClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexService_ListOperations_sync",
"title": "aiplatform ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "IndexClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexService_RemoveDatapoints_sync",
"title": "aiplatform RemoveDatapoints Sample",
"description": "RemoveDatapoints remove Datapoints from an Index.",
"file": "IndexClient/RemoveDatapoints/main.go",
"language": "GO",
"clientMethod": {
"shortName": "RemoveDatapoints",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexClient"
},
"method": {
"shortName": "RemoveDatapoints",
"fullName": "google.cloud.aiplatform.v1.IndexService.RemoveDatapoints",
"service": {
"shortName": "IndexService",
"fullName": "google.cloud.aiplatform.v1.IndexService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexService_SetIamPolicy_sync",
"title": "aiplatform SetIamPolicy Sample",
"description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.",
"file": "IndexClient/SetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexService_TestIamPermissions_sync",
"title": "aiplatform TestIamPermissions Sample",
"description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.",
"file": "IndexClient/TestIamPermissions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexService_UpdateIndex_sync",
"title": "aiplatform UpdateIndex Sample",
"description": "UpdateIndex updates an Index.",
"file": "IndexClient/UpdateIndex/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateIndex",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexClient"
},
"method": {
"shortName": "UpdateIndex",
"fullName": "google.cloud.aiplatform.v1.IndexService.UpdateIndex",
"service": {
"shortName": "IndexService",
"fullName": "google.cloud.aiplatform.v1.IndexService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexService_UpsertDatapoints_sync",
"title": "aiplatform UpsertDatapoints Sample",
"description": "UpsertDatapoints add/update Datapoints into an Index.",
"file": "IndexClient/UpsertDatapoints/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpsertDatapoints",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexClient"
},
"method": {
"shortName": "UpsertDatapoints",
"fullName": "google.cloud.aiplatform.v1.IndexService.UpsertDatapoints",
"service": {
"shortName": "IndexService",
"fullName": "google.cloud.aiplatform.v1.IndexService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_IndexService_WaitOperation_sync",
"title": "aiplatform WaitOperation Sample",
"description": "WaitOperation is a utility method from google.longrunning.Operations.",
"file": "IndexClient/WaitOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.IndexClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.longrunning.Operations.WaitOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_CancelBatchPredictionJob_sync",
"title": "aiplatform CancelBatchPredictionJob Sample",
"description": "CancelBatchPredictionJob cancels a BatchPredictionJob.\n\nStarts asynchronous cancellation on the BatchPredictionJob. The server\nmakes the best effort to cancel the job, but success is not\nguaranteed. Clients can use\n[JobService.GetBatchPredictionJob][google.cloud.aiplatform.v1.JobService.GetBatchPredictionJob]\nor other methods to check whether the cancellation succeeded or whether the\njob completed despite cancellation. On a successful cancellation,\nthe BatchPredictionJob is not deleted;instead its\n[BatchPredictionJob.state][google.cloud.aiplatform.v1.BatchPredictionJob.state]\nis set to `CANCELLED`. Any files already outputted by the job are not\ndeleted.",
"file": "JobClient/CancelBatchPredictionJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelBatchPredictionJob",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "CancelBatchPredictionJob",
"fullName": "google.cloud.aiplatform.v1.JobService.CancelBatchPredictionJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_CancelCustomJob_sync",
"title": "aiplatform CancelCustomJob Sample",
"description": "CancelCustomJob cancels a CustomJob.\nStarts asynchronous cancellation on the CustomJob. The server\nmakes a best effort to cancel the job, but success is not\nguaranteed. Clients can use\n[JobService.GetCustomJob][google.cloud.aiplatform.v1.JobService.GetCustomJob]\nor other methods to check whether the cancellation succeeded or whether the\njob completed despite cancellation. On successful cancellation,\nthe CustomJob is not deleted; instead it becomes a job with\na [CustomJob.error][google.cloud.aiplatform.v1.CustomJob.error] value with\na [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to\n`Code.CANCELLED`, and\n[CustomJob.state][google.cloud.aiplatform.v1.CustomJob.state] is set to\n`CANCELLED`.",
"file": "JobClient/CancelCustomJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelCustomJob",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "CancelCustomJob",
"fullName": "google.cloud.aiplatform.v1.JobService.CancelCustomJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_CancelDataLabelingJob_sync",
"title": "aiplatform CancelDataLabelingJob Sample",
"description": "CancelDataLabelingJob cancels a DataLabelingJob. Success of cancellation is not guaranteed.",
"file": "JobClient/CancelDataLabelingJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelDataLabelingJob",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "CancelDataLabelingJob",
"fullName": "google.cloud.aiplatform.v1.JobService.CancelDataLabelingJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_CancelHyperparameterTuningJob_sync",
"title": "aiplatform CancelHyperparameterTuningJob Sample",
"description": "CancelHyperparameterTuningJob cancels a HyperparameterTuningJob.\nStarts asynchronous cancellation on the HyperparameterTuningJob. The server\nmakes a best effort to cancel the job, but success is not\nguaranteed. Clients can use\n[JobService.GetHyperparameterTuningJob][google.cloud.aiplatform.v1.JobService.GetHyperparameterTuningJob]\nor other methods to check whether the cancellation succeeded or whether the\njob completed despite cancellation. On successful cancellation,\nthe HyperparameterTuningJob is not deleted; instead it becomes a job with\na\n[HyperparameterTuningJob.error][google.cloud.aiplatform.v1.HyperparameterTuningJob.error]\nvalue with a [google.rpc.Status.code][google.rpc.Status.code] of 1,\ncorresponding to `Code.CANCELLED`, and\n[HyperparameterTuningJob.state][google.cloud.aiplatform.v1.HyperparameterTuningJob.state]\nis set to `CANCELLED`.",
"file": "JobClient/CancelHyperparameterTuningJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelHyperparameterTuningJob",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "CancelHyperparameterTuningJob",
"fullName": "google.cloud.aiplatform.v1.JobService.CancelHyperparameterTuningJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_CancelNasJob_sync",
"title": "aiplatform CancelNasJob Sample",
"description": "CancelNasJob cancels a NasJob.\nStarts asynchronous cancellation on the NasJob. The server\nmakes a best effort to cancel the job, but success is not\nguaranteed. Clients can use\n[JobService.GetNasJob][google.cloud.aiplatform.v1.JobService.GetNasJob] or\nother methods to check whether the cancellation succeeded or whether the\njob completed despite cancellation. On successful cancellation,\nthe NasJob is not deleted; instead it becomes a job with\na [NasJob.error][google.cloud.aiplatform.v1.NasJob.error] value with a\n[google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to\n`Code.CANCELLED`, and\n[NasJob.state][google.cloud.aiplatform.v1.NasJob.state] is set to\n`CANCELLED`.",
"file": "JobClient/CancelNasJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelNasJob",
"fullName": "google.cloud.aiplatform.v1.JobClient.CancelNasJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CancelNasJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "JobClient",
"fullName": "google.cloud.aiplatform.v1.JobClient"
},
"method": {
"shortName": "CancelNasJob",
"fullName": "google.cloud.aiplatform.v1.JobService.CancelNasJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_CancelOperation_sync",
"title": "aiplatform CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "JobClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_CreateBatchPredictionJob_sync",
"title": "aiplatform CreateBatchPredictionJob Sample",
"description": "CreateBatchPredictionJob creates a BatchPredictionJob. A BatchPredictionJob once created will\nright away be attempted to start.",
"file": "JobClient/CreateBatchPredictionJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateBatchPredictionJob",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "CreateBatchPredictionJob",
"fullName": "google.cloud.aiplatform.v1.JobService.CreateBatchPredictionJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_CreateCustomJob_sync",
"title": "aiplatform CreateCustomJob Sample",
"description": "CreateCustomJob creates a CustomJob. A created CustomJob right away\nwill be attempted to be run.",
"file": "JobClient/CreateCustomJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateCustomJob",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "CreateCustomJob",
"fullName": "google.cloud.aiplatform.v1.JobService.CreateCustomJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_CreateDataLabelingJob_sync",
"title": "aiplatform CreateDataLabelingJob Sample",
"description": "CreateDataLabelingJob creates a DataLabelingJob.",
"file": "JobClient/CreateDataLabelingJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateDataLabelingJob",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "CreateDataLabelingJob",
"fullName": "google.cloud.aiplatform.v1.JobService.CreateDataLabelingJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_CreateHyperparameterTuningJob_sync",
"title": "aiplatform CreateHyperparameterTuningJob Sample",
"description": "CreateHyperparameterTuningJob creates a HyperparameterTuningJob",
"file": "JobClient/CreateHyperparameterTuningJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateHyperparameterTuningJob",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "CreateHyperparameterTuningJob",
"fullName": "google.cloud.aiplatform.v1.JobService.CreateHyperparameterTuningJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_CreateModelDeploymentMonitoringJob_sync",
"title": "aiplatform CreateModelDeploymentMonitoringJob Sample",
"description": "CreateModelDeploymentMonitoringJob creates a ModelDeploymentMonitoringJob. It will run periodically on a\nconfigured interval.",
"file": "JobClient/CreateModelDeploymentMonitoringJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateModelDeploymentMonitoringJob",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "CreateModelDeploymentMonitoringJob",
"fullName": "google.cloud.aiplatform.v1.JobService.CreateModelDeploymentMonitoringJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_CreateNasJob_sync",
"title": "aiplatform CreateNasJob Sample",
"description": "CreateNasJob creates a NasJob",
"file": "JobClient/CreateNasJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateNasJob",
"fullName": "google.cloud.aiplatform.v1.JobClient.CreateNasJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateNasJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.NasJob",
"client": {
"shortName": "JobClient",
"fullName": "google.cloud.aiplatform.v1.JobClient"
},
"method": {
"shortName": "CreateNasJob",
"fullName": "google.cloud.aiplatform.v1.JobService.CreateNasJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_DeleteBatchPredictionJob_sync",
"title": "aiplatform DeleteBatchPredictionJob Sample",
"description": "DeleteBatchPredictionJob deletes a BatchPredictionJob. Can only be called on jobs that already\nfinished.",
"file": "JobClient/DeleteBatchPredictionJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteBatchPredictionJob",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "DeleteBatchPredictionJob",
"fullName": "google.cloud.aiplatform.v1.JobService.DeleteBatchPredictionJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_DeleteCustomJob_sync",
"title": "aiplatform DeleteCustomJob Sample",
"description": "DeleteCustomJob deletes a CustomJob.",
"file": "JobClient/DeleteCustomJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteCustomJob",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "DeleteCustomJob",
"fullName": "google.cloud.aiplatform.v1.JobService.DeleteCustomJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_DeleteDataLabelingJob_sync",
"title": "aiplatform DeleteDataLabelingJob Sample",
"description": "DeleteDataLabelingJob deletes a DataLabelingJob.",
"file": "JobClient/DeleteDataLabelingJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteDataLabelingJob",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "DeleteDataLabelingJob",
"fullName": "google.cloud.aiplatform.v1.JobService.DeleteDataLabelingJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_DeleteHyperparameterTuningJob_sync",
"title": "aiplatform DeleteHyperparameterTuningJob Sample",
"description": "DeleteHyperparameterTuningJob deletes a HyperparameterTuningJob.",
"file": "JobClient/DeleteHyperparameterTuningJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteHyperparameterTuningJob",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "DeleteHyperparameterTuningJob",
"fullName": "google.cloud.aiplatform.v1.JobService.DeleteHyperparameterTuningJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_DeleteModelDeploymentMonitoringJob_sync",
"title": "aiplatform DeleteModelDeploymentMonitoringJob Sample",
"description": "DeleteModelDeploymentMonitoringJob deletes a ModelDeploymentMonitoringJob.",
"file": "JobClient/DeleteModelDeploymentMonitoringJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteModelDeploymentMonitoringJob",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "DeleteModelDeploymentMonitoringJob",
"fullName": "google.cloud.aiplatform.v1.JobService.DeleteModelDeploymentMonitoringJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_DeleteNasJob_sync",
"title": "aiplatform DeleteNasJob Sample",
"description": "DeleteNasJob deletes a NasJob.",
"file": "JobClient/DeleteNasJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteNasJob",
"fullName": "google.cloud.aiplatform.v1.JobClient.DeleteNasJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteNasJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DeleteNasJobOperation",
"client": {
"shortName": "JobClient",
"fullName": "google.cloud.aiplatform.v1.JobClient"
},
"method": {
"shortName": "DeleteNasJob",
"fullName": "google.cloud.aiplatform.v1.JobService.DeleteNasJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_DeleteOperation_sync",
"title": "aiplatform DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "JobClient/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.longrunning.Operations.DeleteOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_GetBatchPredictionJob_sync",
"title": "aiplatform GetBatchPredictionJob Sample",
"description": "GetBatchPredictionJob gets a BatchPredictionJob",
"file": "JobClient/GetBatchPredictionJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetBatchPredictionJob",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "GetBatchPredictionJob",
"fullName": "google.cloud.aiplatform.v1.JobService.GetBatchPredictionJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_GetCustomJob_sync",
"title": "aiplatform GetCustomJob Sample",
"description": "GetCustomJob gets a CustomJob.",
"file": "JobClient/GetCustomJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetCustomJob",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "GetCustomJob",
"fullName": "google.cloud.aiplatform.v1.JobService.GetCustomJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_GetDataLabelingJob_sync",
"title": "aiplatform GetDataLabelingJob Sample",
"description": "GetDataLabelingJob gets a DataLabelingJob.",
"file": "JobClient/GetDataLabelingJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetDataLabelingJob",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "GetDataLabelingJob",
"fullName": "google.cloud.aiplatform.v1.JobService.GetDataLabelingJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_GetHyperparameterTuningJob_sync",
"title": "aiplatform GetHyperparameterTuningJob Sample",
"description": "GetHyperparameterTuningJob gets a HyperparameterTuningJob",
"file": "JobClient/GetHyperparameterTuningJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetHyperparameterTuningJob",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "GetHyperparameterTuningJob",
"fullName": "google.cloud.aiplatform.v1.JobService.GetHyperparameterTuningJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_GetIamPolicy_sync",
"title": "aiplatform GetIamPolicy Sample",
"description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.",
"file": "JobClient/GetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_GetLocation_sync",
"title": "aiplatform GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "JobClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_GetModelDeploymentMonitoringJob_sync",
"title": "aiplatform GetModelDeploymentMonitoringJob Sample",
"description": "GetModelDeploymentMonitoringJob gets a ModelDeploymentMonitoringJob.",
"file": "JobClient/GetModelDeploymentMonitoringJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetModelDeploymentMonitoringJob",
"fullName": "google.cloud.aiplatform.v1.JobClient.GetModelDeploymentMonitoringJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetModelDeploymentMonitoringJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.ModelDeploymentMonitoringJob",
"client": {
"shortName": "JobClient",
"fullName": "google.cloud.aiplatform.v1.JobClient"
},
"method": {
"shortName": "GetModelDeploymentMonitoringJob",
"fullName": "google.cloud.aiplatform.v1.JobService.GetModelDeploymentMonitoringJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_GetNasJob_sync",
"title": "aiplatform GetNasJob Sample",
"description": "GetNasJob gets a NasJob",
"file": "JobClient/GetNasJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetNasJob",
"fullName": "google.cloud.aiplatform.v1.JobClient.GetNasJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetNasJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.NasJob",
"client": {
"shortName": "JobClient",
"fullName": "google.cloud.aiplatform.v1.JobClient"
},
"method": {
"shortName": "GetNasJob",
"fullName": "google.cloud.aiplatform.v1.JobService.GetNasJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_GetNasTrialDetail_sync",
"title": "aiplatform GetNasTrialDetail Sample",
"description": "GetNasTrialDetail gets a NasTrialDetail.",
"file": "JobClient/GetNasTrialDetail/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetNasTrialDetail",
"fullName": "google.cloud.aiplatform.v1.JobClient.GetNasTrialDetail",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetNasTrialDetailRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.NasTrialDetail",
"client": {
"shortName": "JobClient",
"fullName": "google.cloud.aiplatform.v1.JobClient"
},
"method": {
"shortName": "GetNasTrialDetail",
"fullName": "google.cloud.aiplatform.v1.JobService.GetNasTrialDetail",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_GetOperation_sync",
"title": "aiplatform GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "JobClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_ListBatchPredictionJobs_sync",
"title": "aiplatform ListBatchPredictionJobs Sample",
"description": "ListBatchPredictionJobs lists BatchPredictionJobs in a Location.",
"file": "JobClient/ListBatchPredictionJobs/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListBatchPredictionJobs",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "ListBatchPredictionJobs",
"fullName": "google.cloud.aiplatform.v1.JobService.ListBatchPredictionJobs",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_ListCustomJobs_sync",
"title": "aiplatform ListCustomJobs Sample",
"description": "ListCustomJobs lists CustomJobs in a Location.",
"file": "JobClient/ListCustomJobs/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListCustomJobs",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "ListCustomJobs",
"fullName": "google.cloud.aiplatform.v1.JobService.ListCustomJobs",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_ListDataLabelingJobs_sync",
"title": "aiplatform ListDataLabelingJobs Sample",
"description": "ListDataLabelingJobs lists DataLabelingJobs in a Location.",
"file": "JobClient/ListDataLabelingJobs/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListDataLabelingJobs",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "ListDataLabelingJobs",
"fullName": "google.cloud.aiplatform.v1.JobService.ListDataLabelingJobs",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_ListHyperparameterTuningJobs_sync",
"title": "aiplatform ListHyperparameterTuningJobs Sample",
"description": "ListHyperparameterTuningJobs lists HyperparameterTuningJobs in a Location.",
"file": "JobClient/ListHyperparameterTuningJobs/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListHyperparameterTuningJobs",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "ListHyperparameterTuningJobs",
"fullName": "google.cloud.aiplatform.v1.JobService.ListHyperparameterTuningJobs",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_ListLocations_sync",
"title": "aiplatform ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "JobClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_ListModelDeploymentMonitoringJobs_sync",
"title": "aiplatform ListModelDeploymentMonitoringJobs Sample",
"description": "ListModelDeploymentMonitoringJobs lists ModelDeploymentMonitoringJobs in a Location.",
"file": "JobClient/ListModelDeploymentMonitoringJobs/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListModelDeploymentMonitoringJobs",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "ListModelDeploymentMonitoringJobs",
"fullName": "google.cloud.aiplatform.v1.JobService.ListModelDeploymentMonitoringJobs",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_ListNasJobs_sync",
"title": "aiplatform ListNasJobs Sample",
"description": "ListNasJobs lists NasJobs in a Location.",
"file": "JobClient/ListNasJobs/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListNasJobs",
"fullName": "google.cloud.aiplatform.v1.JobClient.ListNasJobs",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListNasJobsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "NasJobIterator",
"client": {
"shortName": "JobClient",
"fullName": "google.cloud.aiplatform.v1.JobClient"
},
"method": {
"shortName": "ListNasJobs",
"fullName": "google.cloud.aiplatform.v1.JobService.ListNasJobs",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_ListNasTrialDetails_sync",
"title": "aiplatform ListNasTrialDetails Sample",
"description": "ListNasTrialDetails list top NasTrialDetails of a NasJob.",
"file": "JobClient/ListNasTrialDetails/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListNasTrialDetails",
"fullName": "google.cloud.aiplatform.v1.JobClient.ListNasTrialDetails",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListNasTrialDetailsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "NasTrialDetailIterator",
"client": {
"shortName": "JobClient",
"fullName": "google.cloud.aiplatform.v1.JobClient"
},
"method": {
"shortName": "ListNasTrialDetails",
"fullName": "google.cloud.aiplatform.v1.JobService.ListNasTrialDetails",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_ListOperations_sync",
"title": "aiplatform ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "JobClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_PauseModelDeploymentMonitoringJob_sync",
"title": "aiplatform PauseModelDeploymentMonitoringJob Sample",
"description": "PauseModelDeploymentMonitoringJob pauses a ModelDeploymentMonitoringJob. If the job is running, the server\nmakes a best effort to cancel the job. Will mark\n[ModelDeploymentMonitoringJob.state][google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.state]\nto 'PAUSED'.",
"file": "JobClient/PauseModelDeploymentMonitoringJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "PauseModelDeploymentMonitoringJob",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "PauseModelDeploymentMonitoringJob",
"fullName": "google.cloud.aiplatform.v1.JobService.PauseModelDeploymentMonitoringJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_ResumeModelDeploymentMonitoringJob_sync",
"title": "aiplatform ResumeModelDeploymentMonitoringJob Sample",
"description": "ResumeModelDeploymentMonitoringJob resumes a paused ModelDeploymentMonitoringJob. It will start to run from\nnext scheduled time. A deleted ModelDeploymentMonitoringJob can't be\nresumed.",
"file": "JobClient/ResumeModelDeploymentMonitoringJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ResumeModelDeploymentMonitoringJob",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "ResumeModelDeploymentMonitoringJob",
"fullName": "google.cloud.aiplatform.v1.JobService.ResumeModelDeploymentMonitoringJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_SearchModelDeploymentMonitoringStatsAnomalies_sync",
"title": "aiplatform SearchModelDeploymentMonitoringStatsAnomalies Sample",
"description": "SearchModelDeploymentMonitoringStatsAnomalies searches Model Monitoring Statistics generated within a given time window.",
"file": "JobClient/SearchModelDeploymentMonitoringStatsAnomalies/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SearchModelDeploymentMonitoringStatsAnomalies",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "SearchModelDeploymentMonitoringStatsAnomalies",
"fullName": "google.cloud.aiplatform.v1.JobService.SearchModelDeploymentMonitoringStatsAnomalies",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_SetIamPolicy_sync",
"title": "aiplatform SetIamPolicy Sample",
"description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.",
"file": "JobClient/SetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_TestIamPermissions_sync",
"title": "aiplatform TestIamPermissions Sample",
"description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.",
"file": "JobClient/TestIamPermissions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_UpdateModelDeploymentMonitoringJob_sync",
"title": "aiplatform UpdateModelDeploymentMonitoringJob Sample",
"description": "UpdateModelDeploymentMonitoringJob updates a ModelDeploymentMonitoringJob.",
"file": "JobClient/UpdateModelDeploymentMonitoringJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateModelDeploymentMonitoringJob",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "UpdateModelDeploymentMonitoringJob",
"fullName": "google.cloud.aiplatform.v1.JobService.UpdateModelDeploymentMonitoringJob",
"service": {
"shortName": "JobService",
"fullName": "google.cloud.aiplatform.v1.JobService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_JobService_WaitOperation_sync",
"title": "aiplatform WaitOperation Sample",
"description": "WaitOperation is a utility method from google.longrunning.Operations.",
"file": "JobClient/WaitOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.JobClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.longrunning.Operations.WaitOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_LlmUtilityService_CancelOperation_sync",
"title": "aiplatform CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "LlmUtilityClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "LlmUtilityClient",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_LlmUtilityService_ComputeTokens_sync",
"title": "aiplatform ComputeTokens Sample",
"description": "ComputeTokens return a list of tokens based on the input text.",
"file": "LlmUtilityClient/ComputeTokens/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ComputeTokens",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityClient.ComputeTokens",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ComputeTokensRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.ComputeTokensResponse",
"client": {
"shortName": "LlmUtilityClient",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityClient"
},
"method": {
"shortName": "ComputeTokens",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityService.ComputeTokens",
"service": {
"shortName": "LlmUtilityService",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_LlmUtilityService_CountTokens_sync",
"title": "aiplatform CountTokens Sample",
"description": "CountTokens perform a token counting.",
"file": "LlmUtilityClient/CountTokens/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CountTokens",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityClient.CountTokens",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CountTokensRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.CountTokensResponse",
"client": {
"shortName": "LlmUtilityClient",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityClient"
},
"method": {
"shortName": "CountTokens",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityService.CountTokens",
"service": {
"shortName": "LlmUtilityService",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_LlmUtilityService_DeleteOperation_sync",
"title": "aiplatform DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "LlmUtilityClient/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityClient.DeleteOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.DeleteOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "LlmUtilityClient",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.longrunning.Operations.DeleteOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_LlmUtilityService_GetIamPolicy_sync",
"title": "aiplatform GetIamPolicy Sample",
"description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.",
"file": "LlmUtilityClient/GetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityClient.GetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.GetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*iampb.Policy",
"client": {
"shortName": "LlmUtilityClient",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_LlmUtilityService_GetLocation_sync",
"title": "aiplatform GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "LlmUtilityClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*locationpb.Location",
"client": {
"shortName": "LlmUtilityClient",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_LlmUtilityService_GetOperation_sync",
"title": "aiplatform GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "LlmUtilityClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*longrunningpb.Operation",
"client": {
"shortName": "LlmUtilityClient",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_LlmUtilityService_ListLocations_sync",
"title": "aiplatform ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "LlmUtilityClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "LlmUtilityClient",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_LlmUtilityService_ListOperations_sync",
"title": "aiplatform ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "LlmUtilityClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "LlmUtilityClient",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_LlmUtilityService_SetIamPolicy_sync",
"title": "aiplatform SetIamPolicy Sample",
"description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.",
"file": "LlmUtilityClient/SetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityClient.SetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.SetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*iampb.Policy",
"client": {
"shortName": "LlmUtilityClient",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_LlmUtilityService_TestIamPermissions_sync",
"title": "aiplatform TestIamPermissions Sample",
"description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.",
"file": "LlmUtilityClient/TestIamPermissions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityClient.TestIamPermissions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.TestIamPermissionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*iampb.TestIamPermissionsResponse",
"client": {
"shortName": "LlmUtilityClient",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_LlmUtilityService_WaitOperation_sync",
"title": "aiplatform WaitOperation Sample",
"description": "WaitOperation is a utility method from google.longrunning.Operations.",
"file": "LlmUtilityClient/WaitOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityClient.WaitOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.WaitOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*longrunningpb.Operation",
"client": {
"shortName": "LlmUtilityClient",
"fullName": "google.cloud.aiplatform.v1.LlmUtilityClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.longrunning.Operations.WaitOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MatchService_CancelOperation_sync",
"title": "aiplatform CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "MatchClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1.MatchClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "MatchClient",
"fullName": "google.cloud.aiplatform.v1.MatchClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MatchService_DeleteOperation_sync",
"title": "aiplatform DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "MatchClient/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1.MatchClient.DeleteOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.DeleteOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "MatchClient",
"fullName": "google.cloud.aiplatform.v1.MatchClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.longrunning.Operations.DeleteOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MatchService_FindNeighbors_sync",
"title": "aiplatform FindNeighbors Sample",
"description": "FindNeighbors finds the nearest neighbors of each vector within the request.",
"file": "MatchClient/FindNeighbors/main.go",
"language": "GO",
"clientMethod": {
"shortName": "FindNeighbors",
"fullName": "google.cloud.aiplatform.v1.MatchClient.FindNeighbors",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.FindNeighborsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.FindNeighborsResponse",
"client": {
"shortName": "MatchClient",
"fullName": "google.cloud.aiplatform.v1.MatchClient"
},
"method": {
"shortName": "FindNeighbors",
"fullName": "google.cloud.aiplatform.v1.MatchService.FindNeighbors",
"service": {
"shortName": "MatchService",
"fullName": "google.cloud.aiplatform.v1.MatchService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MatchService_GetIamPolicy_sync",
"title": "aiplatform GetIamPolicy Sample",
"description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.",
"file": "MatchClient/GetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.MatchClient.GetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.GetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*iampb.Policy",
"client": {
"shortName": "MatchClient",
"fullName": "google.cloud.aiplatform.v1.MatchClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MatchService_GetLocation_sync",
"title": "aiplatform GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "MatchClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1.MatchClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*locationpb.Location",
"client": {
"shortName": "MatchClient",
"fullName": "google.cloud.aiplatform.v1.MatchClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MatchService_GetOperation_sync",
"title": "aiplatform GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "MatchClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1.MatchClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*longrunningpb.Operation",
"client": {
"shortName": "MatchClient",
"fullName": "google.cloud.aiplatform.v1.MatchClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MatchService_ListLocations_sync",
"title": "aiplatform ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "MatchClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1.MatchClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "MatchClient",
"fullName": "google.cloud.aiplatform.v1.MatchClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MatchService_ListOperations_sync",
"title": "aiplatform ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "MatchClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1.MatchClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "MatchClient",
"fullName": "google.cloud.aiplatform.v1.MatchClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MatchService_ReadIndexDatapoints_sync",
"title": "aiplatform ReadIndexDatapoints Sample",
"description": "ReadIndexDatapoints reads the datapoints/vectors of the given IDs.\nA maximum of 1000 datapoints can be retrieved in a batch.",
"file": "MatchClient/ReadIndexDatapoints/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ReadIndexDatapoints",
"fullName": "google.cloud.aiplatform.v1.MatchClient.ReadIndexDatapoints",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ReadIndexDatapointsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.ReadIndexDatapointsResponse",
"client": {
"shortName": "MatchClient",
"fullName": "google.cloud.aiplatform.v1.MatchClient"
},
"method": {
"shortName": "ReadIndexDatapoints",
"fullName": "google.cloud.aiplatform.v1.MatchService.ReadIndexDatapoints",
"service": {
"shortName": "MatchService",
"fullName": "google.cloud.aiplatform.v1.MatchService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MatchService_SetIamPolicy_sync",
"title": "aiplatform SetIamPolicy Sample",
"description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.",
"file": "MatchClient/SetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.MatchClient.SetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.SetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*iampb.Policy",
"client": {
"shortName": "MatchClient",
"fullName": "google.cloud.aiplatform.v1.MatchClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MatchService_TestIamPermissions_sync",
"title": "aiplatform TestIamPermissions Sample",
"description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.",
"file": "MatchClient/TestIamPermissions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1.MatchClient.TestIamPermissions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.TestIamPermissionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*iampb.TestIamPermissionsResponse",
"client": {
"shortName": "MatchClient",
"fullName": "google.cloud.aiplatform.v1.MatchClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MatchService_WaitOperation_sync",
"title": "aiplatform WaitOperation Sample",
"description": "WaitOperation is a utility method from google.longrunning.Operations.",
"file": "MatchClient/WaitOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1.MatchClient.WaitOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.WaitOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*longrunningpb.Operation",
"client": {
"shortName": "MatchClient",
"fullName": "google.cloud.aiplatform.v1.MatchClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.longrunning.Operations.WaitOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_AddContextArtifactsAndExecutions_sync",
"title": "aiplatform AddContextArtifactsAndExecutions Sample",
"description": "AddContextArtifactsAndExecutions adds a set of Artifacts and Executions to a Context. If any of the\nArtifacts or Executions have already been added to a Context, they are\nsimply skipped.",
"file": "MetadataClient/AddContextArtifactsAndExecutions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "AddContextArtifactsAndExecutions",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "AddContextArtifactsAndExecutions",
"fullName": "google.cloud.aiplatform.v1.MetadataService.AddContextArtifactsAndExecutions",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_AddContextChildren_sync",
"title": "aiplatform AddContextChildren Sample",
"description": "AddContextChildren adds a set of Contexts as children to a parent Context. If any of the\nchild Contexts have already been added to the parent Context, they are\nsimply skipped. If this call would create a cycle or cause any Context to\nhave more than 10 parents, the request will fail with an INVALID_ARGUMENT\nerror.",
"file": "MetadataClient/AddContextChildren/main.go",
"language": "GO",
"clientMethod": {
"shortName": "AddContextChildren",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "AddContextChildren",
"fullName": "google.cloud.aiplatform.v1.MetadataService.AddContextChildren",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_AddExecutionEvents_sync",
"title": "aiplatform AddExecutionEvents Sample",
"description": "AddExecutionEvents adds Events to the specified Execution. An Event indicates whether an\nArtifact was used as an input or output for an Execution. If an Event\nalready exists between the Execution and the Artifact, the Event is\nskipped.",
"file": "MetadataClient/AddExecutionEvents/main.go",
"language": "GO",
"clientMethod": {
"shortName": "AddExecutionEvents",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "AddExecutionEvents",
"fullName": "google.cloud.aiplatform.v1.MetadataService.AddExecutionEvents",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_CancelOperation_sync",
"title": "aiplatform CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "MetadataClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_CreateArtifact_sync",
"title": "aiplatform CreateArtifact Sample",
"description": "CreateArtifact creates an Artifact associated with a MetadataStore.",
"file": "MetadataClient/CreateArtifact/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateArtifact",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "CreateArtifact",
"fullName": "google.cloud.aiplatform.v1.MetadataService.CreateArtifact",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_CreateContext_sync",
"title": "aiplatform CreateContext Sample",
"description": "CreateContext creates a Context associated with a MetadataStore.",
"file": "MetadataClient/CreateContext/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateContext",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "CreateContext",
"fullName": "google.cloud.aiplatform.v1.MetadataService.CreateContext",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_CreateExecution_sync",
"title": "aiplatform CreateExecution Sample",
"description": "CreateExecution creates an Execution associated with a MetadataStore.",
"file": "MetadataClient/CreateExecution/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateExecution",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "CreateExecution",
"fullName": "google.cloud.aiplatform.v1.MetadataService.CreateExecution",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_CreateMetadataSchema_sync",
"title": "aiplatform CreateMetadataSchema Sample",
"description": "CreateMetadataSchema creates a MetadataSchema.",
"file": "MetadataClient/CreateMetadataSchema/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateMetadataSchema",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "CreateMetadataSchema",
"fullName": "google.cloud.aiplatform.v1.MetadataService.CreateMetadataSchema",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_CreateMetadataStore_sync",
"title": "aiplatform CreateMetadataStore Sample",
"description": "CreateMetadataStore initializes a MetadataStore, including allocation of resources.",
"file": "MetadataClient/CreateMetadataStore/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateMetadataStore",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "CreateMetadataStore",
"fullName": "google.cloud.aiplatform.v1.MetadataService.CreateMetadataStore",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_DeleteArtifact_sync",
"title": "aiplatform DeleteArtifact Sample",
"description": "DeleteArtifact deletes an Artifact.",
"file": "MetadataClient/DeleteArtifact/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteArtifact",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "DeleteArtifact",
"fullName": "google.cloud.aiplatform.v1.MetadataService.DeleteArtifact",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_DeleteContext_sync",
"title": "aiplatform DeleteContext Sample",
"description": "DeleteContext deletes a stored Context.",
"file": "MetadataClient/DeleteContext/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteContext",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "DeleteContext",
"fullName": "google.cloud.aiplatform.v1.MetadataService.DeleteContext",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_DeleteExecution_sync",
"title": "aiplatform DeleteExecution Sample",
"description": "DeleteExecution deletes an Execution.",
"file": "MetadataClient/DeleteExecution/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteExecution",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "DeleteExecution",
"fullName": "google.cloud.aiplatform.v1.MetadataService.DeleteExecution",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_DeleteMetadataStore_sync",
"title": "aiplatform DeleteMetadataStore Sample",
"description": "DeleteMetadataStore deletes a single MetadataStore and all its child resources (Artifacts,\nExecutions, and Contexts).",
"file": "MetadataClient/DeleteMetadataStore/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteMetadataStore",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "DeleteMetadataStore",
"fullName": "google.cloud.aiplatform.v1.MetadataService.DeleteMetadataStore",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_DeleteOperation_sync",
"title": "aiplatform DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "MetadataClient/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.longrunning.Operations.DeleteOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_GetArtifact_sync",
"title": "aiplatform GetArtifact Sample",
"description": "GetArtifact retrieves a specific Artifact.",
"file": "MetadataClient/GetArtifact/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetArtifact",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "GetArtifact",
"fullName": "google.cloud.aiplatform.v1.MetadataService.GetArtifact",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_GetContext_sync",
"title": "aiplatform GetContext Sample",
"description": "GetContext retrieves a specific Context.",
"file": "MetadataClient/GetContext/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetContext",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "GetContext",
"fullName": "google.cloud.aiplatform.v1.MetadataService.GetContext",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_GetExecution_sync",
"title": "aiplatform GetExecution Sample",
"description": "GetExecution retrieves a specific Execution.",
"file": "MetadataClient/GetExecution/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetExecution",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "GetExecution",
"fullName": "google.cloud.aiplatform.v1.MetadataService.GetExecution",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_GetIamPolicy_sync",
"title": "aiplatform GetIamPolicy Sample",
"description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.",
"file": "MetadataClient/GetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_GetLocation_sync",
"title": "aiplatform GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "MetadataClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_GetMetadataSchema_sync",
"title": "aiplatform GetMetadataSchema Sample",
"description": "GetMetadataSchema retrieves a specific MetadataSchema.",
"file": "MetadataClient/GetMetadataSchema/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetMetadataSchema",
"fullName": "google.cloud.aiplatform.v1.MetadataClient.GetMetadataSchema",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetMetadataSchemaRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.MetadataSchema",
"client": {
"shortName": "MetadataClient",
"fullName": "google.cloud.aiplatform.v1.MetadataClient"
},
"method": {
"shortName": "GetMetadataSchema",
"fullName": "google.cloud.aiplatform.v1.MetadataService.GetMetadataSchema",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_GetMetadataStore_sync",
"title": "aiplatform GetMetadataStore Sample",
"description": "GetMetadataStore retrieves a specific MetadataStore.",
"file": "MetadataClient/GetMetadataStore/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetMetadataStore",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "GetMetadataStore",
"fullName": "google.cloud.aiplatform.v1.MetadataService.GetMetadataStore",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_GetOperation_sync",
"title": "aiplatform GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "MetadataClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_ListArtifacts_sync",
"title": "aiplatform ListArtifacts Sample",
"description": "ListArtifacts lists Artifacts in the MetadataStore.",
"file": "MetadataClient/ListArtifacts/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListArtifacts",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "ListArtifacts",
"fullName": "google.cloud.aiplatform.v1.MetadataService.ListArtifacts",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_ListContexts_sync",
"title": "aiplatform ListContexts Sample",
"description": "ListContexts lists Contexts on the MetadataStore.",
"file": "MetadataClient/ListContexts/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListContexts",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "ListContexts",
"fullName": "google.cloud.aiplatform.v1.MetadataService.ListContexts",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_ListExecutions_sync",
"title": "aiplatform ListExecutions Sample",
"description": "ListExecutions lists Executions in the MetadataStore.",
"file": "MetadataClient/ListExecutions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListExecutions",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "ListExecutions",
"fullName": "google.cloud.aiplatform.v1.MetadataService.ListExecutions",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_ListLocations_sync",
"title": "aiplatform ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "MetadataClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_ListMetadataSchemas_sync",
"title": "aiplatform ListMetadataSchemas Sample",
"description": "ListMetadataSchemas lists MetadataSchemas.",
"file": "MetadataClient/ListMetadataSchemas/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListMetadataSchemas",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "ListMetadataSchemas",
"fullName": "google.cloud.aiplatform.v1.MetadataService.ListMetadataSchemas",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_ListMetadataStores_sync",
"title": "aiplatform ListMetadataStores Sample",
"description": "ListMetadataStores lists MetadataStores for a Location.",
"file": "MetadataClient/ListMetadataStores/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListMetadataStores",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "ListMetadataStores",
"fullName": "google.cloud.aiplatform.v1.MetadataService.ListMetadataStores",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_ListOperations_sync",
"title": "aiplatform ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "MetadataClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_PurgeArtifacts_sync",
"title": "aiplatform PurgeArtifacts Sample",
"description": "PurgeArtifacts purges Artifacts.",
"file": "MetadataClient/PurgeArtifacts/main.go",
"language": "GO",
"clientMethod": {
"shortName": "PurgeArtifacts",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "PurgeArtifacts",
"fullName": "google.cloud.aiplatform.v1.MetadataService.PurgeArtifacts",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_PurgeContexts_sync",
"title": "aiplatform PurgeContexts Sample",
"description": "PurgeContexts purges Contexts.",
"file": "MetadataClient/PurgeContexts/main.go",
"language": "GO",
"clientMethod": {
"shortName": "PurgeContexts",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "PurgeContexts",
"fullName": "google.cloud.aiplatform.v1.MetadataService.PurgeContexts",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_PurgeExecutions_sync",
"title": "aiplatform PurgeExecutions Sample",
"description": "PurgeExecutions purges Executions.",
"file": "MetadataClient/PurgeExecutions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "PurgeExecutions",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "PurgeExecutions",
"fullName": "google.cloud.aiplatform.v1.MetadataService.PurgeExecutions",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_QueryArtifactLineageSubgraph_sync",
"title": "aiplatform QueryArtifactLineageSubgraph Sample",
"description": "QueryArtifactLineageSubgraph retrieves lineage of an Artifact represented through Artifacts and\nExecutions connected by Event edges and returned as a LineageSubgraph.",
"file": "MetadataClient/QueryArtifactLineageSubgraph/main.go",
"language": "GO",
"clientMethod": {
"shortName": "QueryArtifactLineageSubgraph",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "QueryArtifactLineageSubgraph",
"fullName": "google.cloud.aiplatform.v1.MetadataService.QueryArtifactLineageSubgraph",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_QueryContextLineageSubgraph_sync",
"title": "aiplatform QueryContextLineageSubgraph Sample",
"description": "QueryContextLineageSubgraph retrieves Artifacts and Executions within the specified Context, connected\nby Event edges and returned as a LineageSubgraph.",
"file": "MetadataClient/QueryContextLineageSubgraph/main.go",
"language": "GO",
"clientMethod": {
"shortName": "QueryContextLineageSubgraph",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "QueryContextLineageSubgraph",
"fullName": "google.cloud.aiplatform.v1.MetadataService.QueryContextLineageSubgraph",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_QueryExecutionInputsAndOutputs_sync",
"title": "aiplatform QueryExecutionInputsAndOutputs Sample",
"description": "QueryExecutionInputsAndOutputs obtains the set of input and output Artifacts for this Execution, in the\nform of LineageSubgraph that also contains the Execution and connecting\nEvents.",
"file": "MetadataClient/QueryExecutionInputsAndOutputs/main.go",
"language": "GO",
"clientMethod": {
"shortName": "QueryExecutionInputsAndOutputs",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "QueryExecutionInputsAndOutputs",
"fullName": "google.cloud.aiplatform.v1.MetadataService.QueryExecutionInputsAndOutputs",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_RemoveContextChildren_sync",
"title": "aiplatform RemoveContextChildren Sample",
"description": "RemoveContextChildren remove a set of children contexts from a parent Context. If any of the\nchild Contexts were NOT added to the parent Context, they are\nsimply skipped.",
"file": "MetadataClient/RemoveContextChildren/main.go",
"language": "GO",
"clientMethod": {
"shortName": "RemoveContextChildren",
"fullName": "google.cloud.aiplatform.v1.MetadataClient.RemoveContextChildren",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.RemoveContextChildrenRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.RemoveContextChildrenResponse",
"client": {
"shortName": "MetadataClient",
"fullName": "google.cloud.aiplatform.v1.MetadataClient"
},
"method": {
"shortName": "RemoveContextChildren",
"fullName": "google.cloud.aiplatform.v1.MetadataService.RemoveContextChildren",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_SetIamPolicy_sync",
"title": "aiplatform SetIamPolicy Sample",
"description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.",
"file": "MetadataClient/SetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_TestIamPermissions_sync",
"title": "aiplatform TestIamPermissions Sample",
"description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.",
"file": "MetadataClient/TestIamPermissions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_UpdateArtifact_sync",
"title": "aiplatform UpdateArtifact Sample",
"description": "UpdateArtifact updates a stored Artifact.",
"file": "MetadataClient/UpdateArtifact/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateArtifact",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "UpdateArtifact",
"fullName": "google.cloud.aiplatform.v1.MetadataService.UpdateArtifact",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_UpdateContext_sync",
"title": "aiplatform UpdateContext Sample",
"description": "UpdateContext updates a stored Context.",
"file": "MetadataClient/UpdateContext/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateContext",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "UpdateContext",
"fullName": "google.cloud.aiplatform.v1.MetadataService.UpdateContext",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_UpdateExecution_sync",
"title": "aiplatform UpdateExecution Sample",
"description": "UpdateExecution updates a stored Execution.",
"file": "MetadataClient/UpdateExecution/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateExecution",
"fullName": "google.cloud.aiplatform.v1.MetadataClient.UpdateExecution",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UpdateExecutionRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.Execution",
"client": {
"shortName": "MetadataClient",
"fullName": "google.cloud.aiplatform.v1.MetadataClient"
},
"method": {
"shortName": "UpdateExecution",
"fullName": "google.cloud.aiplatform.v1.MetadataService.UpdateExecution",
"service": {
"shortName": "MetadataService",
"fullName": "google.cloud.aiplatform.v1.MetadataService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MetadataService_WaitOperation_sync",
"title": "aiplatform WaitOperation Sample",
"description": "WaitOperation is a utility method from google.longrunning.Operations.",
"file": "MetadataClient/WaitOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.MetadataClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.longrunning.Operations.WaitOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MigrationService_BatchMigrateResources_sync",
"title": "aiplatform BatchMigrateResources Sample",
"description": "BatchMigrateResources batch migrates resources from ml.googleapis.com, automl.googleapis.com,\nand datalabeling.googleapis.com to Vertex AI.",
"file": "MigrationClient/BatchMigrateResources/main.go",
"language": "GO",
"clientMethod": {
"shortName": "BatchMigrateResources",
"fullName": "google.cloud.aiplatform.v1.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.v1.MigrationClient"
},
"method": {
"shortName": "BatchMigrateResources",
"fullName": "google.cloud.aiplatform.v1.MigrationService.BatchMigrateResources",
"service": {
"shortName": "MigrationService",
"fullName": "google.cloud.aiplatform.v1.MigrationService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MigrationService_CancelOperation_sync",
"title": "aiplatform CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "MigrationClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.MigrationClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MigrationService_DeleteOperation_sync",
"title": "aiplatform DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "MigrationClient/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.MigrationClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.longrunning.Operations.DeleteOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MigrationService_GetIamPolicy_sync",
"title": "aiplatform GetIamPolicy Sample",
"description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.",
"file": "MigrationClient/GetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.MigrationClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MigrationService_GetLocation_sync",
"title": "aiplatform GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "MigrationClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1.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.v1.MigrationClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MigrationService_GetOperation_sync",
"title": "aiplatform GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "MigrationClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.MigrationClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MigrationService_ListLocations_sync",
"title": "aiplatform ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "MigrationClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1.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.v1.MigrationClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MigrationService_ListOperations_sync",
"title": "aiplatform ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "MigrationClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1.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.v1.MigrationClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MigrationService_SearchMigratableResources_sync",
"title": "aiplatform SearchMigratableResources Sample",
"description": "SearchMigratableResources searches all of the resources in automl.googleapis.com,\ndatalabeling.googleapis.com and ml.googleapis.com that can be migrated to\nVertex AI's given location.",
"file": "MigrationClient/SearchMigratableResources/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SearchMigratableResources",
"fullName": "google.cloud.aiplatform.v1.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.v1.MigrationClient"
},
"method": {
"shortName": "SearchMigratableResources",
"fullName": "google.cloud.aiplatform.v1.MigrationService.SearchMigratableResources",
"service": {
"shortName": "MigrationService",
"fullName": "google.cloud.aiplatform.v1.MigrationService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MigrationService_SetIamPolicy_sync",
"title": "aiplatform SetIamPolicy Sample",
"description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.",
"file": "MigrationClient/SetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.MigrationClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MigrationService_TestIamPermissions_sync",
"title": "aiplatform TestIamPermissions Sample",
"description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.",
"file": "MigrationClient/TestIamPermissions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1.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.v1.MigrationClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_MigrationService_WaitOperation_sync",
"title": "aiplatform WaitOperation Sample",
"description": "WaitOperation is a utility method from google.longrunning.Operations.",
"file": "MigrationClient/WaitOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.MigrationClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.longrunning.Operations.WaitOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelGardenService_CancelOperation_sync",
"title": "aiplatform CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "ModelGardenClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1.ModelGardenClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "ModelGardenClient",
"fullName": "google.cloud.aiplatform.v1.ModelGardenClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelGardenService_DeleteOperation_sync",
"title": "aiplatform DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "ModelGardenClient/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1.ModelGardenClient.DeleteOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.DeleteOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "ModelGardenClient",
"fullName": "google.cloud.aiplatform.v1.ModelGardenClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.longrunning.Operations.DeleteOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelGardenService_GetIamPolicy_sync",
"title": "aiplatform GetIamPolicy Sample",
"description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.",
"file": "ModelGardenClient/GetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.ModelGardenClient.GetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.GetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*iampb.Policy",
"client": {
"shortName": "ModelGardenClient",
"fullName": "google.cloud.aiplatform.v1.ModelGardenClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelGardenService_GetLocation_sync",
"title": "aiplatform GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "ModelGardenClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1.ModelGardenClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*locationpb.Location",
"client": {
"shortName": "ModelGardenClient",
"fullName": "google.cloud.aiplatform.v1.ModelGardenClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelGardenService_GetOperation_sync",
"title": "aiplatform GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "ModelGardenClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1.ModelGardenClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*longrunningpb.Operation",
"client": {
"shortName": "ModelGardenClient",
"fullName": "google.cloud.aiplatform.v1.ModelGardenClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelGardenService_GetPublisherModel_sync",
"title": "aiplatform GetPublisherModel Sample",
"description": "GetPublisherModel gets a Model Garden publisher model.",
"file": "ModelGardenClient/GetPublisherModel/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetPublisherModel",
"fullName": "google.cloud.aiplatform.v1.ModelGardenClient.GetPublisherModel",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetPublisherModelRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.PublisherModel",
"client": {
"shortName": "ModelGardenClient",
"fullName": "google.cloud.aiplatform.v1.ModelGardenClient"
},
"method": {
"shortName": "GetPublisherModel",
"fullName": "google.cloud.aiplatform.v1.ModelGardenService.GetPublisherModel",
"service": {
"shortName": "ModelGardenService",
"fullName": "google.cloud.aiplatform.v1.ModelGardenService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelGardenService_ListLocations_sync",
"title": "aiplatform ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "ModelGardenClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1.ModelGardenClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "ModelGardenClient",
"fullName": "google.cloud.aiplatform.v1.ModelGardenClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelGardenService_ListOperations_sync",
"title": "aiplatform ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "ModelGardenClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1.ModelGardenClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "ModelGardenClient",
"fullName": "google.cloud.aiplatform.v1.ModelGardenClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelGardenService_SetIamPolicy_sync",
"title": "aiplatform SetIamPolicy Sample",
"description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.",
"file": "ModelGardenClient/SetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.ModelGardenClient.SetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.SetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*iampb.Policy",
"client": {
"shortName": "ModelGardenClient",
"fullName": "google.cloud.aiplatform.v1.ModelGardenClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelGardenService_TestIamPermissions_sync",
"title": "aiplatform TestIamPermissions Sample",
"description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.",
"file": "ModelGardenClient/TestIamPermissions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1.ModelGardenClient.TestIamPermissions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.TestIamPermissionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*iampb.TestIamPermissionsResponse",
"client": {
"shortName": "ModelGardenClient",
"fullName": "google.cloud.aiplatform.v1.ModelGardenClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelGardenService_WaitOperation_sync",
"title": "aiplatform WaitOperation Sample",
"description": "WaitOperation is a utility method from google.longrunning.Operations.",
"file": "ModelGardenClient/WaitOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1.ModelGardenClient.WaitOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.WaitOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*longrunningpb.Operation",
"client": {
"shortName": "ModelGardenClient",
"fullName": "google.cloud.aiplatform.v1.ModelGardenClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.longrunning.Operations.WaitOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_BatchImportEvaluatedAnnotations_sync",
"title": "aiplatform BatchImportEvaluatedAnnotations Sample",
"description": "BatchImportEvaluatedAnnotations imports a list of externally generated EvaluatedAnnotations.",
"file": "ModelClient/BatchImportEvaluatedAnnotations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "BatchImportEvaluatedAnnotations",
"fullName": "google.cloud.aiplatform.v1.ModelClient.BatchImportEvaluatedAnnotations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.BatchImportEvaluatedAnnotationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.BatchImportEvaluatedAnnotationsResponse",
"client": {
"shortName": "ModelClient",
"fullName": "google.cloud.aiplatform.v1.ModelClient"
},
"method": {
"shortName": "BatchImportEvaluatedAnnotations",
"fullName": "google.cloud.aiplatform.v1.ModelService.BatchImportEvaluatedAnnotations",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_BatchImportModelEvaluationSlices_sync",
"title": "aiplatform BatchImportModelEvaluationSlices Sample",
"description": "BatchImportModelEvaluationSlices imports a list of externally generated ModelEvaluationSlice.",
"file": "ModelClient/BatchImportModelEvaluationSlices/main.go",
"language": "GO",
"clientMethod": {
"shortName": "BatchImportModelEvaluationSlices",
"fullName": "google.cloud.aiplatform.v1.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.v1.ModelClient"
},
"method": {
"shortName": "BatchImportModelEvaluationSlices",
"fullName": "google.cloud.aiplatform.v1.ModelService.BatchImportModelEvaluationSlices",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_CancelOperation_sync",
"title": "aiplatform CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "ModelClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.ModelClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_CopyModel_sync",
"title": "aiplatform CopyModel Sample",
"description": "CopyModel copies an already existing Vertex AI Model into the specified Location.\nThe source Model must exist in the same Project.\nWhen copying custom Models, the users themselves are responsible for\n[Model.metadata][google.cloud.aiplatform.v1.Model.metadata] content to be\nregion-agnostic, as well as making sure that any resources (e.g. files) it\ndepends on remain accessible.",
"file": "ModelClient/CopyModel/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CopyModel",
"fullName": "google.cloud.aiplatform.v1.ModelClient.CopyModel",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CopyModelRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "CopyModelOperation",
"client": {
"shortName": "ModelClient",
"fullName": "google.cloud.aiplatform.v1.ModelClient"
},
"method": {
"shortName": "CopyModel",
"fullName": "google.cloud.aiplatform.v1.ModelService.CopyModel",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_DeleteModel_sync",
"title": "aiplatform DeleteModel Sample",
"description": "DeleteModel deletes a Model.\n\nA model cannot be deleted if any\n[Endpoint][google.cloud.aiplatform.v1.Endpoint] resource has a\n[DeployedModel][google.cloud.aiplatform.v1.DeployedModel] based on the\nmodel in its\n[deployed_models][google.cloud.aiplatform.v1.Endpoint.deployed_models]\nfield.",
"file": "ModelClient/DeleteModel/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteModel",
"fullName": "google.cloud.aiplatform.v1.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.v1.ModelClient"
},
"method": {
"shortName": "DeleteModel",
"fullName": "google.cloud.aiplatform.v1.ModelService.DeleteModel",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_DeleteModelVersion_sync",
"title": "aiplatform DeleteModelVersion Sample",
"description": "DeleteModelVersion deletes a Model version.\n\nModel version can only be deleted if there are no\n[DeployedModels][google.cloud.aiplatform.v1.DeployedModel] created from it.\nDeleting the only version in the Model is not allowed. Use\n[DeleteModel][google.cloud.aiplatform.v1.ModelService.DeleteModel] for\ndeleting the Model instead.",
"file": "ModelClient/DeleteModelVersion/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteModelVersion",
"fullName": "google.cloud.aiplatform.v1.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.v1.ModelClient"
},
"method": {
"shortName": "DeleteModelVersion",
"fullName": "google.cloud.aiplatform.v1.ModelService.DeleteModelVersion",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_DeleteOperation_sync",
"title": "aiplatform DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "ModelClient/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.ModelClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.longrunning.Operations.DeleteOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_ExportModel_sync",
"title": "aiplatform ExportModel Sample",
"description": "ExportModel exports a trained, exportable Model to a location specified by the\nuser. A Model is considered to be exportable if it has at least one\n[supported export\nformat][google.cloud.aiplatform.v1.Model.supported_export_formats].",
"file": "ModelClient/ExportModel/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ExportModel",
"fullName": "google.cloud.aiplatform.v1.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.v1.ModelClient"
},
"method": {
"shortName": "ExportModel",
"fullName": "google.cloud.aiplatform.v1.ModelService.ExportModel",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_GetIamPolicy_sync",
"title": "aiplatform GetIamPolicy Sample",
"description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.",
"file": "ModelClient/GetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.ModelClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_GetLocation_sync",
"title": "aiplatform GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "ModelClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1.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.v1.ModelClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_GetModel_sync",
"title": "aiplatform GetModel Sample",
"description": "GetModel gets a Model.",
"file": "ModelClient/GetModel/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetModel",
"fullName": "google.cloud.aiplatform.v1.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.v1.ModelClient"
},
"method": {
"shortName": "GetModel",
"fullName": "google.cloud.aiplatform.v1.ModelService.GetModel",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_GetModelEvaluation_sync",
"title": "aiplatform GetModelEvaluation Sample",
"description": "GetModelEvaluation gets a ModelEvaluation.",
"file": "ModelClient/GetModelEvaluation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetModelEvaluation",
"fullName": "google.cloud.aiplatform.v1.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.v1.ModelClient"
},
"method": {
"shortName": "GetModelEvaluation",
"fullName": "google.cloud.aiplatform.v1.ModelService.GetModelEvaluation",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_GetModelEvaluationSlice_sync",
"title": "aiplatform GetModelEvaluationSlice Sample",
"description": "GetModelEvaluationSlice gets a ModelEvaluationSlice.",
"file": "ModelClient/GetModelEvaluationSlice/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetModelEvaluationSlice",
"fullName": "google.cloud.aiplatform.v1.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.v1.ModelClient"
},
"method": {
"shortName": "GetModelEvaluationSlice",
"fullName": "google.cloud.aiplatform.v1.ModelService.GetModelEvaluationSlice",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_GetOperation_sync",
"title": "aiplatform GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "ModelClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.ModelClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_ImportModelEvaluation_sync",
"title": "aiplatform ImportModelEvaluation Sample",
"description": "ImportModelEvaluation imports an externally generated ModelEvaluation.",
"file": "ModelClient/ImportModelEvaluation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ImportModelEvaluation",
"fullName": "google.cloud.aiplatform.v1.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.v1.ModelClient"
},
"method": {
"shortName": "ImportModelEvaluation",
"fullName": "google.cloud.aiplatform.v1.ModelService.ImportModelEvaluation",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_ListLocations_sync",
"title": "aiplatform ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "ModelClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1.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.v1.ModelClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_ListModelEvaluationSlices_sync",
"title": "aiplatform ListModelEvaluationSlices Sample",
"description": "ListModelEvaluationSlices lists ModelEvaluationSlices in a ModelEvaluation.",
"file": "ModelClient/ListModelEvaluationSlices/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListModelEvaluationSlices",
"fullName": "google.cloud.aiplatform.v1.ModelClient.ListModelEvaluationSlices",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListModelEvaluationSlicesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ModelEvaluationSliceIterator",
"client": {
"shortName": "ModelClient",
"fullName": "google.cloud.aiplatform.v1.ModelClient"
},
"method": {
"shortName": "ListModelEvaluationSlices",
"fullName": "google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_ListModelEvaluations_sync",
"title": "aiplatform ListModelEvaluations Sample",
"description": "ListModelEvaluations lists ModelEvaluations in a Model.",
"file": "ModelClient/ListModelEvaluations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListModelEvaluations",
"fullName": "google.cloud.aiplatform.v1.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.v1.ModelClient"
},
"method": {
"shortName": "ListModelEvaluations",
"fullName": "google.cloud.aiplatform.v1.ModelService.ListModelEvaluations",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_ListModelVersions_sync",
"title": "aiplatform ListModelVersions Sample",
"description": "ListModelVersions lists versions of the specified model.",
"file": "ModelClient/ListModelVersions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListModelVersions",
"fullName": "google.cloud.aiplatform.v1.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.v1.ModelClient"
},
"method": {
"shortName": "ListModelVersions",
"fullName": "google.cloud.aiplatform.v1.ModelService.ListModelVersions",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_ListModels_sync",
"title": "aiplatform ListModels Sample",
"description": "ListModels lists Models in a Location.",
"file": "ModelClient/ListModels/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListModels",
"fullName": "google.cloud.aiplatform.v1.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.v1.ModelClient"
},
"method": {
"shortName": "ListModels",
"fullName": "google.cloud.aiplatform.v1.ModelService.ListModels",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_ListOperations_sync",
"title": "aiplatform ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "ModelClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1.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.v1.ModelClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_MergeVersionAliases_sync",
"title": "aiplatform MergeVersionAliases Sample",
"description": "MergeVersionAliases merges a set of aliases for a Model version.",
"file": "ModelClient/MergeVersionAliases/main.go",
"language": "GO",
"clientMethod": {
"shortName": "MergeVersionAliases",
"fullName": "google.cloud.aiplatform.v1.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.v1.ModelClient"
},
"method": {
"shortName": "MergeVersionAliases",
"fullName": "google.cloud.aiplatform.v1.ModelService.MergeVersionAliases",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_SetIamPolicy_sync",
"title": "aiplatform SetIamPolicy Sample",
"description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.",
"file": "ModelClient/SetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.ModelClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_TestIamPermissions_sync",
"title": "aiplatform TestIamPermissions Sample",
"description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.",
"file": "ModelClient/TestIamPermissions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1.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.v1.ModelClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_UpdateExplanationDataset_sync",
"title": "aiplatform UpdateExplanationDataset Sample",
"description": "UpdateExplanationDataset incrementally update the dataset used for an examples model.",
"file": "ModelClient/UpdateExplanationDataset/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateExplanationDataset",
"fullName": "google.cloud.aiplatform.v1.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.v1.ModelClient"
},
"method": {
"shortName": "UpdateExplanationDataset",
"fullName": "google.cloud.aiplatform.v1.ModelService.UpdateExplanationDataset",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_UpdateModel_sync",
"title": "aiplatform UpdateModel Sample",
"description": "UpdateModel updates a Model.",
"file": "ModelClient/UpdateModel/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateModel",
"fullName": "google.cloud.aiplatform.v1.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.v1.ModelClient"
},
"method": {
"shortName": "UpdateModel",
"fullName": "google.cloud.aiplatform.v1.ModelService.UpdateModel",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_UploadModel_sync",
"title": "aiplatform UploadModel Sample",
"description": "UploadModel uploads a Model artifact into Vertex AI.",
"file": "ModelClient/UploadModel/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UploadModel",
"fullName": "google.cloud.aiplatform.v1.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.v1.ModelClient"
},
"method": {
"shortName": "UploadModel",
"fullName": "google.cloud.aiplatform.v1.ModelService.UploadModel",
"service": {
"shortName": "ModelService",
"fullName": "google.cloud.aiplatform.v1.ModelService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ModelService_WaitOperation_sync",
"title": "aiplatform WaitOperation Sample",
"description": "WaitOperation is a utility method from google.longrunning.Operations.",
"file": "ModelClient/WaitOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.ModelClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.longrunning.Operations.WaitOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PipelineService_BatchCancelPipelineJobs_sync",
"title": "aiplatform BatchCancelPipelineJobs Sample",
"description": "BatchCancelPipelineJobs batch cancel PipelineJobs.\nFirstly the server will check if all the jobs are in non-terminal states,\nand skip the jobs that are already terminated.\nIf the operation failed, none of the pipeline jobs are cancelled.\nThe server will poll the states of all the pipeline jobs periodically\nto check the cancellation status.\nThis operation will return an LRO.",
"file": "PipelineClient/BatchCancelPipelineJobs/main.go",
"language": "GO",
"clientMethod": {
"shortName": "BatchCancelPipelineJobs",
"fullName": "google.cloud.aiplatform.v1.PipelineClient.BatchCancelPipelineJobs",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.BatchCancelPipelineJobsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "BatchCancelPipelineJobsOperation",
"client": {
"shortName": "PipelineClient",
"fullName": "google.cloud.aiplatform.v1.PipelineClient"
},
"method": {
"shortName": "BatchCancelPipelineJobs",
"fullName": "google.cloud.aiplatform.v1.PipelineService.BatchCancelPipelineJobs",
"service": {
"shortName": "PipelineService",
"fullName": "google.cloud.aiplatform.v1.PipelineService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PipelineService_BatchDeletePipelineJobs_sync",
"title": "aiplatform BatchDeletePipelineJobs Sample",
"description": "BatchDeletePipelineJobs batch deletes PipelineJobs\nThe Operation is atomic. If it fails, none of the PipelineJobs are deleted.\nIf it succeeds, all of the PipelineJobs are deleted.",
"file": "PipelineClient/BatchDeletePipelineJobs/main.go",
"language": "GO",
"clientMethod": {
"shortName": "BatchDeletePipelineJobs",
"fullName": "google.cloud.aiplatform.v1.PipelineClient.BatchDeletePipelineJobs",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.BatchDeletePipelineJobsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "BatchDeletePipelineJobsOperation",
"client": {
"shortName": "PipelineClient",
"fullName": "google.cloud.aiplatform.v1.PipelineClient"
},
"method": {
"shortName": "BatchDeletePipelineJobs",
"fullName": "google.cloud.aiplatform.v1.PipelineService.BatchDeletePipelineJobs",
"service": {
"shortName": "PipelineService",
"fullName": "google.cloud.aiplatform.v1.PipelineService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PipelineService_CancelOperation_sync",
"title": "aiplatform CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "PipelineClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.PipelineClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PipelineService_CancelPipelineJob_sync",
"title": "aiplatform CancelPipelineJob Sample",
"description": "CancelPipelineJob cancels a PipelineJob.\nStarts asynchronous cancellation on the PipelineJob. The server\nmakes a best effort to cancel the pipeline, but success is not\nguaranteed. Clients can use\n[PipelineService.GetPipelineJob][google.cloud.aiplatform.v1.PipelineService.GetPipelineJob]\nor other methods to check whether the cancellation succeeded or whether the\npipeline completed despite cancellation. On successful cancellation,\nthe PipelineJob is not deleted; instead it becomes a pipeline with\na [PipelineJob.error][google.cloud.aiplatform.v1.PipelineJob.error] value\nwith a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding\nto `Code.CANCELLED`, and\n[PipelineJob.state][google.cloud.aiplatform.v1.PipelineJob.state] is set to\n`CANCELLED`.",
"file": "PipelineClient/CancelPipelineJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelPipelineJob",
"fullName": "google.cloud.aiplatform.v1.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.v1.PipelineClient"
},
"method": {
"shortName": "CancelPipelineJob",
"fullName": "google.cloud.aiplatform.v1.PipelineService.CancelPipelineJob",
"service": {
"shortName": "PipelineService",
"fullName": "google.cloud.aiplatform.v1.PipelineService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PipelineService_CancelTrainingPipeline_sync",
"title": "aiplatform CancelTrainingPipeline Sample",
"description": "CancelTrainingPipeline cancels a TrainingPipeline.\nStarts asynchronous cancellation on the TrainingPipeline. The server\nmakes a best effort to cancel the pipeline, but success is not\nguaranteed. Clients can use\n[PipelineService.GetTrainingPipeline][google.cloud.aiplatform.v1.PipelineService.GetTrainingPipeline]\nor other methods to check whether the cancellation succeeded or whether the\npipeline completed despite cancellation. On successful cancellation,\nthe TrainingPipeline is not deleted; instead it becomes a pipeline with\na\n[TrainingPipeline.error][google.cloud.aiplatform.v1.TrainingPipeline.error]\nvalue with a [google.rpc.Status.code][google.rpc.Status.code] of 1,\ncorresponding to `Code.CANCELLED`, and\n[TrainingPipeline.state][google.cloud.aiplatform.v1.TrainingPipeline.state]\nis set to `CANCELLED`.",
"file": "PipelineClient/CancelTrainingPipeline/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelTrainingPipeline",
"fullName": "google.cloud.aiplatform.v1.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.v1.PipelineClient"
},
"method": {
"shortName": "CancelTrainingPipeline",
"fullName": "google.cloud.aiplatform.v1.PipelineService.CancelTrainingPipeline",
"service": {
"shortName": "PipelineService",
"fullName": "google.cloud.aiplatform.v1.PipelineService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PipelineService_CreatePipelineJob_sync",
"title": "aiplatform CreatePipelineJob Sample",
"description": "CreatePipelineJob creates a PipelineJob. A PipelineJob will run immediately when created.",
"file": "PipelineClient/CreatePipelineJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreatePipelineJob",
"fullName": "google.cloud.aiplatform.v1.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.v1.PipelineClient"
},
"method": {
"shortName": "CreatePipelineJob",
"fullName": "google.cloud.aiplatform.v1.PipelineService.CreatePipelineJob",
"service": {
"shortName": "PipelineService",
"fullName": "google.cloud.aiplatform.v1.PipelineService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PipelineService_CreateTrainingPipeline_sync",
"title": "aiplatform CreateTrainingPipeline Sample",
"description": "CreateTrainingPipeline creates a TrainingPipeline. A created TrainingPipeline right away will be\nattempted to be run.",
"file": "PipelineClient/CreateTrainingPipeline/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateTrainingPipeline",
"fullName": "google.cloud.aiplatform.v1.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.v1.PipelineClient"
},
"method": {
"shortName": "CreateTrainingPipeline",
"fullName": "google.cloud.aiplatform.v1.PipelineService.CreateTrainingPipeline",
"service": {
"shortName": "PipelineService",
"fullName": "google.cloud.aiplatform.v1.PipelineService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PipelineService_DeleteOperation_sync",
"title": "aiplatform DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "PipelineClient/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.PipelineClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.longrunning.Operations.DeleteOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PipelineService_DeletePipelineJob_sync",
"title": "aiplatform DeletePipelineJob Sample",
"description": "DeletePipelineJob deletes a PipelineJob.",
"file": "PipelineClient/DeletePipelineJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeletePipelineJob",
"fullName": "google.cloud.aiplatform.v1.PipelineClient.DeletePipelineJob",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeletePipelineJobRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DeletePipelineJobOperation",
"client": {
"shortName": "PipelineClient",
"fullName": "google.cloud.aiplatform.v1.PipelineClient"
},
"method": {
"shortName": "DeletePipelineJob",
"fullName": "google.cloud.aiplatform.v1.PipelineService.DeletePipelineJob",
"service": {
"shortName": "PipelineService",
"fullName": "google.cloud.aiplatform.v1.PipelineService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PipelineService_DeleteTrainingPipeline_sync",
"title": "aiplatform DeleteTrainingPipeline Sample",
"description": "DeleteTrainingPipeline deletes a TrainingPipeline.",
"file": "PipelineClient/DeleteTrainingPipeline/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteTrainingPipeline",
"fullName": "google.cloud.aiplatform.v1.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.v1.PipelineClient"
},
"method": {
"shortName": "DeleteTrainingPipeline",
"fullName": "google.cloud.aiplatform.v1.PipelineService.DeleteTrainingPipeline",
"service": {
"shortName": "PipelineService",
"fullName": "google.cloud.aiplatform.v1.PipelineService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PipelineService_GetIamPolicy_sync",
"title": "aiplatform GetIamPolicy Sample",
"description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.",
"file": "PipelineClient/GetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.PipelineClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PipelineService_GetLocation_sync",
"title": "aiplatform GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "PipelineClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1.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.v1.PipelineClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PipelineService_GetOperation_sync",
"title": "aiplatform GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "PipelineClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.PipelineClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PipelineService_GetPipelineJob_sync",
"title": "aiplatform GetPipelineJob Sample",
"description": "GetPipelineJob gets a PipelineJob.",
"file": "PipelineClient/GetPipelineJob/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetPipelineJob",
"fullName": "google.cloud.aiplatform.v1.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.v1.PipelineClient"
},
"method": {
"shortName": "GetPipelineJob",
"fullName": "google.cloud.aiplatform.v1.PipelineService.GetPipelineJob",
"service": {
"shortName": "PipelineService",
"fullName": "google.cloud.aiplatform.v1.PipelineService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PipelineService_GetTrainingPipeline_sync",
"title": "aiplatform GetTrainingPipeline Sample",
"description": "GetTrainingPipeline gets a TrainingPipeline.",
"file": "PipelineClient/GetTrainingPipeline/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetTrainingPipeline",
"fullName": "google.cloud.aiplatform.v1.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.v1.PipelineClient"
},
"method": {
"shortName": "GetTrainingPipeline",
"fullName": "google.cloud.aiplatform.v1.PipelineService.GetTrainingPipeline",
"service": {
"shortName": "PipelineService",
"fullName": "google.cloud.aiplatform.v1.PipelineService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PipelineService_ListLocations_sync",
"title": "aiplatform ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "PipelineClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1.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.v1.PipelineClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PipelineService_ListOperations_sync",
"title": "aiplatform ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "PipelineClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1.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.v1.PipelineClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PipelineService_ListPipelineJobs_sync",
"title": "aiplatform ListPipelineJobs Sample",
"description": "ListPipelineJobs lists PipelineJobs in a Location.",
"file": "PipelineClient/ListPipelineJobs/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListPipelineJobs",
"fullName": "google.cloud.aiplatform.v1.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.v1.PipelineClient"
},
"method": {
"shortName": "ListPipelineJobs",
"fullName": "google.cloud.aiplatform.v1.PipelineService.ListPipelineJobs",
"service": {
"shortName": "PipelineService",
"fullName": "google.cloud.aiplatform.v1.PipelineService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PipelineService_ListTrainingPipelines_sync",
"title": "aiplatform ListTrainingPipelines Sample",
"description": "ListTrainingPipelines lists TrainingPipelines in a Location.",
"file": "PipelineClient/ListTrainingPipelines/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListTrainingPipelines",
"fullName": "google.cloud.aiplatform.v1.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.v1.PipelineClient"
},
"method": {
"shortName": "ListTrainingPipelines",
"fullName": "google.cloud.aiplatform.v1.PipelineService.ListTrainingPipelines",
"service": {
"shortName": "PipelineService",
"fullName": "google.cloud.aiplatform.v1.PipelineService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PipelineService_SetIamPolicy_sync",
"title": "aiplatform SetIamPolicy Sample",
"description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.",
"file": "PipelineClient/SetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.PipelineClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PipelineService_TestIamPermissions_sync",
"title": "aiplatform TestIamPermissions Sample",
"description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.",
"file": "PipelineClient/TestIamPermissions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1.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.v1.PipelineClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PipelineService_WaitOperation_sync",
"title": "aiplatform WaitOperation Sample",
"description": "WaitOperation is a utility method from google.longrunning.Operations.",
"file": "PipelineClient/WaitOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.PipelineClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.longrunning.Operations.WaitOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PredictionService_CancelOperation_sync",
"title": "aiplatform CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "PredictionClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.PredictionClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PredictionService_DeleteOperation_sync",
"title": "aiplatform DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "PredictionClient/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.PredictionClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.longrunning.Operations.DeleteOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PredictionService_DirectPredict_sync",
"title": "aiplatform DirectPredict Sample",
"description": "DirectPredict perform an unary online prediction request to a gRPC model server for\nVertex first-party products and frameworks.",
"file": "PredictionClient/DirectPredict/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DirectPredict",
"fullName": "google.cloud.aiplatform.v1.PredictionClient.DirectPredict",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DirectPredictRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.DirectPredictResponse",
"client": {
"shortName": "PredictionClient",
"fullName": "google.cloud.aiplatform.v1.PredictionClient"
},
"method": {
"shortName": "DirectPredict",
"fullName": "google.cloud.aiplatform.v1.PredictionService.DirectPredict",
"service": {
"shortName": "PredictionService",
"fullName": "google.cloud.aiplatform.v1.PredictionService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PredictionService_DirectRawPredict_sync",
"title": "aiplatform DirectRawPredict Sample",
"description": "DirectRawPredict perform an unary online prediction request to a gRPC model server for\ncustom containers.",
"file": "PredictionClient/DirectRawPredict/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DirectRawPredict",
"fullName": "google.cloud.aiplatform.v1.PredictionClient.DirectRawPredict",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DirectRawPredictRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.DirectRawPredictResponse",
"client": {
"shortName": "PredictionClient",
"fullName": "google.cloud.aiplatform.v1.PredictionClient"
},
"method": {
"shortName": "DirectRawPredict",
"fullName": "google.cloud.aiplatform.v1.PredictionService.DirectRawPredict",
"service": {
"shortName": "PredictionService",
"fullName": "google.cloud.aiplatform.v1.PredictionService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PredictionService_Explain_sync",
"title": "aiplatform Explain Sample",
"description": "Explain perform an online explanation.\n\nIf\n[deployed_model_id][google.cloud.aiplatform.v1.ExplainRequest.deployed_model_id]\nis specified, the corresponding DeployModel must have\n[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]\npopulated. If\n[deployed_model_id][google.cloud.aiplatform.v1.ExplainRequest.deployed_model_id]\nis not specified, all DeployedModels must have\n[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]\npopulated.",
"file": "PredictionClient/Explain/main.go",
"language": "GO",
"clientMethod": {
"shortName": "Explain",
"fullName": "google.cloud.aiplatform.v1.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.v1.PredictionClient"
},
"method": {
"shortName": "Explain",
"fullName": "google.cloud.aiplatform.v1.PredictionService.Explain",
"service": {
"shortName": "PredictionService",
"fullName": "google.cloud.aiplatform.v1.PredictionService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PredictionService_GenerateContent_sync",
"title": "aiplatform GenerateContent Sample",
"description": "GenerateContent generate content with multimodal inputs.",
"file": "PredictionClient/GenerateContent/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GenerateContent",
"fullName": "google.cloud.aiplatform.v1.PredictionClient.GenerateContent",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GenerateContentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.GenerateContentResponse",
"client": {
"shortName": "PredictionClient",
"fullName": "google.cloud.aiplatform.v1.PredictionClient"
},
"method": {
"shortName": "GenerateContent",
"fullName": "google.cloud.aiplatform.v1.PredictionService.GenerateContent",
"service": {
"shortName": "PredictionService",
"fullName": "google.cloud.aiplatform.v1.PredictionService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PredictionService_GetIamPolicy_sync",
"title": "aiplatform GetIamPolicy Sample",
"description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.",
"file": "PredictionClient/GetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.PredictionClient.GetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.GetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*iampb.Policy",
"client": {
"shortName": "PredictionClient",
"fullName": "google.cloud.aiplatform.v1.PredictionClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PredictionService_GetLocation_sync",
"title": "aiplatform GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "PredictionClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1.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.v1.PredictionClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PredictionService_GetOperation_sync",
"title": "aiplatform GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "PredictionClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.PredictionClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PredictionService_ListLocations_sync",
"title": "aiplatform ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "PredictionClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1.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.v1.PredictionClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PredictionService_ListOperations_sync",
"title": "aiplatform ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "PredictionClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1.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.v1.PredictionClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PredictionService_Predict_sync",
"title": "aiplatform Predict Sample",
"description": "Predict perform an online prediction.",
"file": "PredictionClient/Predict/main.go",
"language": "GO",
"clientMethod": {
"shortName": "Predict",
"fullName": "google.cloud.aiplatform.v1.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.v1.PredictionClient"
},
"method": {
"shortName": "Predict",
"fullName": "google.cloud.aiplatform.v1.PredictionService.Predict",
"service": {
"shortName": "PredictionService",
"fullName": "google.cloud.aiplatform.v1.PredictionService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PredictionService_RawPredict_sync",
"title": "aiplatform RawPredict Sample",
"description": "RawPredict perform an online prediction with an arbitrary HTTP payload.\n\nThe response includes the following HTTP headers: \n\n* `X-Vertex-AI-Endpoint-Id`: ID of the\n[Endpoint][google.cloud.aiplatform.v1.Endpoint] that served this\nprediction.\n\n* `X-Vertex-AI-Deployed-Model-Id`: ID of the Endpoint's\n[DeployedModel][google.cloud.aiplatform.v1.DeployedModel] that served this\nprediction.",
"file": "PredictionClient/RawPredict/main.go",
"language": "GO",
"clientMethod": {
"shortName": "RawPredict",
"fullName": "google.cloud.aiplatform.v1.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.v1.PredictionClient"
},
"method": {
"shortName": "RawPredict",
"fullName": "google.cloud.aiplatform.v1.PredictionService.RawPredict",
"service": {
"shortName": "PredictionService",
"fullName": "google.cloud.aiplatform.v1.PredictionService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PredictionService_SetIamPolicy_sync",
"title": "aiplatform SetIamPolicy Sample",
"description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.",
"file": "PredictionClient/SetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.PredictionClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PredictionService_StreamDirectPredict_sync",
"title": "aiplatform StreamDirectPredict Sample",
"description": "StreamDirectPredict perform a streaming online prediction request to a gRPC model server for\nVertex first-party products and frameworks.",
"file": "PredictionClient/StreamDirectPredict/main.go",
"language": "GO",
"clientMethod": {
"shortName": "StreamDirectPredict",
"fullName": "google.cloud.aiplatform.v1.PredictionClient.StreamDirectPredict",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "aiplatformpb.PredictionService_StreamDirectPredictClient",
"client": {
"shortName": "PredictionClient",
"fullName": "google.cloud.aiplatform.v1.PredictionClient"
},
"method": {
"shortName": "StreamDirectPredict",
"fullName": "google.cloud.aiplatform.v1.PredictionService.StreamDirectPredict",
"service": {
"shortName": "PredictionService",
"fullName": "google.cloud.aiplatform.v1.PredictionService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 69,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PredictionService_StreamDirectRawPredict_sync",
"title": "aiplatform StreamDirectRawPredict Sample",
"description": "StreamDirectRawPredict perform a streaming online prediction request to a gRPC model server for\ncustom containers.",
"file": "PredictionClient/StreamDirectRawPredict/main.go",
"language": "GO",
"clientMethod": {
"shortName": "StreamDirectRawPredict",
"fullName": "google.cloud.aiplatform.v1.PredictionClient.StreamDirectRawPredict",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "aiplatformpb.PredictionService_StreamDirectRawPredictClient",
"client": {
"shortName": "PredictionClient",
"fullName": "google.cloud.aiplatform.v1.PredictionClient"
},
"method": {
"shortName": "StreamDirectRawPredict",
"fullName": "google.cloud.aiplatform.v1.PredictionService.StreamDirectRawPredict",
"service": {
"shortName": "PredictionService",
"fullName": "google.cloud.aiplatform.v1.PredictionService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 69,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PredictionService_StreamingPredict_sync",
"title": "aiplatform StreamingPredict Sample",
"description": "StreamingPredict perform a streaming online prediction request for Vertex first-party\nproducts and frameworks.",
"file": "PredictionClient/StreamingPredict/main.go",
"language": "GO",
"clientMethod": {
"shortName": "StreamingPredict",
"fullName": "google.cloud.aiplatform.v1.PredictionClient.StreamingPredict",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "aiplatformpb.PredictionService_StreamingPredictClient",
"client": {
"shortName": "PredictionClient",
"fullName": "google.cloud.aiplatform.v1.PredictionClient"
},
"method": {
"shortName": "StreamingPredict",
"fullName": "google.cloud.aiplatform.v1.PredictionService.StreamingPredict",
"service": {
"shortName": "PredictionService",
"fullName": "google.cloud.aiplatform.v1.PredictionService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 69,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PredictionService_StreamingRawPredict_sync",
"title": "aiplatform StreamingRawPredict Sample",
"description": "StreamingRawPredict perform a streaming online prediction request through gRPC.",
"file": "PredictionClient/StreamingRawPredict/main.go",
"language": "GO",
"clientMethod": {
"shortName": "StreamingRawPredict",
"fullName": "google.cloud.aiplatform.v1.PredictionClient.StreamingRawPredict",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "aiplatformpb.PredictionService_StreamingRawPredictClient",
"client": {
"shortName": "PredictionClient",
"fullName": "google.cloud.aiplatform.v1.PredictionClient"
},
"method": {
"shortName": "StreamingRawPredict",
"fullName": "google.cloud.aiplatform.v1.PredictionService.StreamingRawPredict",
"service": {
"shortName": "PredictionService",
"fullName": "google.cloud.aiplatform.v1.PredictionService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 69,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PredictionService_TestIamPermissions_sync",
"title": "aiplatform TestIamPermissions Sample",
"description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.",
"file": "PredictionClient/TestIamPermissions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1.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.v1.PredictionClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_PredictionService_WaitOperation_sync",
"title": "aiplatform WaitOperation Sample",
"description": "WaitOperation is a utility method from google.longrunning.Operations.",
"file": "PredictionClient/WaitOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.PredictionClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.longrunning.Operations.WaitOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ScheduleService_CancelOperation_sync",
"title": "aiplatform CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "ScheduleClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient.CancelOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.CancelOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "ScheduleClient",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ScheduleService_CreateSchedule_sync",
"title": "aiplatform CreateSchedule Sample",
"description": "CreateSchedule creates a Schedule.",
"file": "ScheduleClient/CreateSchedule/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateSchedule",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient.CreateSchedule",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.CreateScheduleRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.Schedule",
"client": {
"shortName": "ScheduleClient",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient"
},
"method": {
"shortName": "CreateSchedule",
"fullName": "google.cloud.aiplatform.v1.ScheduleService.CreateSchedule",
"service": {
"shortName": "ScheduleService",
"fullName": "google.cloud.aiplatform.v1.ScheduleService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ScheduleService_DeleteOperation_sync",
"title": "aiplatform DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "ScheduleClient/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient.DeleteOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.DeleteOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "ScheduleClient",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.longrunning.Operations.DeleteOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ScheduleService_DeleteSchedule_sync",
"title": "aiplatform DeleteSchedule Sample",
"description": "DeleteSchedule deletes a Schedule.",
"file": "ScheduleClient/DeleteSchedule/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteSchedule",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient.DeleteSchedule",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.DeleteScheduleRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DeleteScheduleOperation",
"client": {
"shortName": "ScheduleClient",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient"
},
"method": {
"shortName": "DeleteSchedule",
"fullName": "google.cloud.aiplatform.v1.ScheduleService.DeleteSchedule",
"service": {
"shortName": "ScheduleService",
"fullName": "google.cloud.aiplatform.v1.ScheduleService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ScheduleService_GetIamPolicy_sync",
"title": "aiplatform GetIamPolicy Sample",
"description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.",
"file": "ScheduleClient/GetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient.GetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.GetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*iampb.Policy",
"client": {
"shortName": "ScheduleClient",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ScheduleService_GetLocation_sync",
"title": "aiplatform GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "ScheduleClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient.GetLocation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.GetLocationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*locationpb.Location",
"client": {
"shortName": "ScheduleClient",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ScheduleService_GetOperation_sync",
"title": "aiplatform GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "ScheduleClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*longrunningpb.Operation",
"client": {
"shortName": "ScheduleClient",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ScheduleService_GetSchedule_sync",
"title": "aiplatform GetSchedule Sample",
"description": "GetSchedule gets a Schedule.",
"file": "ScheduleClient/GetSchedule/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetSchedule",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient.GetSchedule",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.GetScheduleRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.Schedule",
"client": {
"shortName": "ScheduleClient",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient"
},
"method": {
"shortName": "GetSchedule",
"fullName": "google.cloud.aiplatform.v1.ScheduleService.GetSchedule",
"service": {
"shortName": "ScheduleService",
"fullName": "google.cloud.aiplatform.v1.ScheduleService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ScheduleService_ListLocations_sync",
"title": "aiplatform ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "ScheduleClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient.ListLocations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "locationpb.ListLocationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "LocationIterator",
"client": {
"shortName": "ScheduleClient",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ScheduleService_ListOperations_sync",
"title": "aiplatform ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "ScheduleClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient.ListOperations",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.ListOperationsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "OperationIterator",
"client": {
"shortName": "ScheduleClient",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ScheduleService_ListSchedules_sync",
"title": "aiplatform ListSchedules Sample",
"description": "ListSchedules lists Schedules in a Location.",
"file": "ScheduleClient/ListSchedules/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListSchedules",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient.ListSchedules",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListSchedulesRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "ScheduleIterator",
"client": {
"shortName": "ScheduleClient",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient"
},
"method": {
"shortName": "ListSchedules",
"fullName": "google.cloud.aiplatform.v1.ScheduleService.ListSchedules",
"service": {
"shortName": "ScheduleService",
"fullName": "google.cloud.aiplatform.v1.ScheduleService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ScheduleService_PauseSchedule_sync",
"title": "aiplatform PauseSchedule Sample",
"description": "PauseSchedule pauses a Schedule. Will mark\n[Schedule.state][google.cloud.aiplatform.v1.Schedule.state] to 'PAUSED'. If\nthe schedule is paused, no new runs will be created. Already created runs\nwill NOT be paused or canceled.",
"file": "ScheduleClient/PauseSchedule/main.go",
"language": "GO",
"clientMethod": {
"shortName": "PauseSchedule",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient.PauseSchedule",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.PauseScheduleRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "ScheduleClient",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient"
},
"method": {
"shortName": "PauseSchedule",
"fullName": "google.cloud.aiplatform.v1.ScheduleService.PauseSchedule",
"service": {
"shortName": "ScheduleService",
"fullName": "google.cloud.aiplatform.v1.ScheduleService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ScheduleService_ResumeSchedule_sync",
"title": "aiplatform ResumeSchedule Sample",
"description": "ResumeSchedule resumes a paused Schedule to start scheduling new runs. Will mark\n[Schedule.state][google.cloud.aiplatform.v1.Schedule.state] to 'ACTIVE'.\nOnly paused Schedule can be resumed.\n\nWhen the Schedule is resumed, new runs will be scheduled starting from the\nnext execution time after the current time based on the time_specification\nin the Schedule. If [Schedule.catchUp][] is set up true, all\nmissed runs will be scheduled for backfill first.",
"file": "ScheduleClient/ResumeSchedule/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ResumeSchedule",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient.ResumeSchedule",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ResumeScheduleRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "ScheduleClient",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient"
},
"method": {
"shortName": "ResumeSchedule",
"fullName": "google.cloud.aiplatform.v1.ScheduleService.ResumeSchedule",
"service": {
"shortName": "ScheduleService",
"fullName": "google.cloud.aiplatform.v1.ScheduleService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ScheduleService_SetIamPolicy_sync",
"title": "aiplatform SetIamPolicy Sample",
"description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.",
"file": "ScheduleClient/SetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient.SetIamPolicy",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.SetIamPolicyRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*iampb.Policy",
"client": {
"shortName": "ScheduleClient",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ScheduleService_TestIamPermissions_sync",
"title": "aiplatform TestIamPermissions Sample",
"description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.",
"file": "ScheduleClient/TestIamPermissions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient.TestIamPermissions",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "iampb.TestIamPermissionsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*iampb.TestIamPermissionsResponse",
"client": {
"shortName": "ScheduleClient",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ScheduleService_UpdateSchedule_sync",
"title": "aiplatform UpdateSchedule Sample",
"description": "UpdateSchedule updates an active or paused Schedule.\n\nWhen the Schedule is updated, new runs will be scheduled starting from the\nupdated next execution time after the update time based on the\ntime_specification in the updated Schedule. All unstarted runs before the\nupdate time will be skipped while already created runs will NOT be paused\nor canceled.",
"file": "ScheduleClient/UpdateSchedule/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateSchedule",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient.UpdateSchedule",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.UpdateScheduleRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.Schedule",
"client": {
"shortName": "ScheduleClient",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient"
},
"method": {
"shortName": "UpdateSchedule",
"fullName": "google.cloud.aiplatform.v1.ScheduleService.UpdateSchedule",
"service": {
"shortName": "ScheduleService",
"fullName": "google.cloud.aiplatform.v1.ScheduleService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_ScheduleService_WaitOperation_sync",
"title": "aiplatform WaitOperation Sample",
"description": "WaitOperation is a utility method from google.longrunning.Operations.",
"file": "ScheduleClient/WaitOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient.WaitOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.WaitOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*longrunningpb.Operation",
"client": {
"shortName": "ScheduleClient",
"fullName": "google.cloud.aiplatform.v1.ScheduleClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.longrunning.Operations.WaitOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_SpecialistPoolService_CancelOperation_sync",
"title": "aiplatform CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "SpecialistPoolClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.SpecialistPoolClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_SpecialistPoolService_CreateSpecialistPool_sync",
"title": "aiplatform CreateSpecialistPool Sample",
"description": "CreateSpecialistPool creates a SpecialistPool.",
"file": "SpecialistPoolClient/CreateSpecialistPool/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateSpecialistPool",
"fullName": "google.cloud.aiplatform.v1.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.v1.SpecialistPoolClient"
},
"method": {
"shortName": "CreateSpecialistPool",
"fullName": "google.cloud.aiplatform.v1.SpecialistPoolService.CreateSpecialistPool",
"service": {
"shortName": "SpecialistPoolService",
"fullName": "google.cloud.aiplatform.v1.SpecialistPoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_SpecialistPoolService_DeleteOperation_sync",
"title": "aiplatform DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "SpecialistPoolClient/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.SpecialistPoolClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.longrunning.Operations.DeleteOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_SpecialistPoolService_DeleteSpecialistPool_sync",
"title": "aiplatform DeleteSpecialistPool Sample",
"description": "DeleteSpecialistPool deletes a SpecialistPool as well as all Specialists in the pool.",
"file": "SpecialistPoolClient/DeleteSpecialistPool/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteSpecialistPool",
"fullName": "google.cloud.aiplatform.v1.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.v1.SpecialistPoolClient"
},
"method": {
"shortName": "DeleteSpecialistPool",
"fullName": "google.cloud.aiplatform.v1.SpecialistPoolService.DeleteSpecialistPool",
"service": {
"shortName": "SpecialistPoolService",
"fullName": "google.cloud.aiplatform.v1.SpecialistPoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_SpecialistPoolService_GetIamPolicy_sync",
"title": "aiplatform GetIamPolicy Sample",
"description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.",
"file": "SpecialistPoolClient/GetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.SpecialistPoolClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_SpecialistPoolService_GetLocation_sync",
"title": "aiplatform GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "SpecialistPoolClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1.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.v1.SpecialistPoolClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_SpecialistPoolService_GetOperation_sync",
"title": "aiplatform GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "SpecialistPoolClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.SpecialistPoolClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_SpecialistPoolService_GetSpecialistPool_sync",
"title": "aiplatform GetSpecialistPool Sample",
"description": "GetSpecialistPool gets a SpecialistPool.",
"file": "SpecialistPoolClient/GetSpecialistPool/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetSpecialistPool",
"fullName": "google.cloud.aiplatform.v1.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.v1.SpecialistPoolClient"
},
"method": {
"shortName": "GetSpecialistPool",
"fullName": "google.cloud.aiplatform.v1.SpecialistPoolService.GetSpecialistPool",
"service": {
"shortName": "SpecialistPoolService",
"fullName": "google.cloud.aiplatform.v1.SpecialistPoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_SpecialistPoolService_ListLocations_sync",
"title": "aiplatform ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "SpecialistPoolClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1.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.v1.SpecialistPoolClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_SpecialistPoolService_ListOperations_sync",
"title": "aiplatform ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "SpecialistPoolClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1.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.v1.SpecialistPoolClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_SpecialistPoolService_ListSpecialistPools_sync",
"title": "aiplatform ListSpecialistPools Sample",
"description": "ListSpecialistPools lists SpecialistPools in a Location.",
"file": "SpecialistPoolClient/ListSpecialistPools/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListSpecialistPools",
"fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient.ListSpecialistPools",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ListSpecialistPoolsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "SpecialistPoolIterator",
"client": {
"shortName": "SpecialistPoolClient",
"fullName": "google.cloud.aiplatform.v1.SpecialistPoolClient"
},
"method": {
"shortName": "ListSpecialistPools",
"fullName": "google.cloud.aiplatform.v1.SpecialistPoolService.ListSpecialistPools",
"service": {
"shortName": "SpecialistPoolService",
"fullName": "google.cloud.aiplatform.v1.SpecialistPoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_SpecialistPoolService_SetIamPolicy_sync",
"title": "aiplatform SetIamPolicy Sample",
"description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.",
"file": "SpecialistPoolClient/SetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.SpecialistPoolClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_SpecialistPoolService_TestIamPermissions_sync",
"title": "aiplatform TestIamPermissions Sample",
"description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.",
"file": "SpecialistPoolClient/TestIamPermissions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1.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.v1.SpecialistPoolClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_SpecialistPoolService_UpdateSpecialistPool_sync",
"title": "aiplatform UpdateSpecialistPool Sample",
"description": "UpdateSpecialistPool updates a SpecialistPool.",
"file": "SpecialistPoolClient/UpdateSpecialistPool/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateSpecialistPool",
"fullName": "google.cloud.aiplatform.v1.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.v1.SpecialistPoolClient"
},
"method": {
"shortName": "UpdateSpecialistPool",
"fullName": "google.cloud.aiplatform.v1.SpecialistPoolService.UpdateSpecialistPool",
"service": {
"shortName": "SpecialistPoolService",
"fullName": "google.cloud.aiplatform.v1.SpecialistPoolService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_SpecialistPoolService_WaitOperation_sync",
"title": "aiplatform WaitOperation Sample",
"description": "WaitOperation is a utility method from google.longrunning.Operations.",
"file": "SpecialistPoolClient/WaitOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.SpecialistPoolClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.longrunning.Operations.WaitOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_BatchCreateTensorboardRuns_sync",
"title": "aiplatform BatchCreateTensorboardRuns Sample",
"description": "BatchCreateTensorboardRuns batch create TensorboardRuns.",
"file": "TensorboardClient/BatchCreateTensorboardRuns/main.go",
"language": "GO",
"clientMethod": {
"shortName": "BatchCreateTensorboardRuns",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "BatchCreateTensorboardRuns",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.BatchCreateTensorboardRuns",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_BatchCreateTensorboardTimeSeries_sync",
"title": "aiplatform BatchCreateTensorboardTimeSeries Sample",
"description": "BatchCreateTensorboardTimeSeries batch create TensorboardTimeSeries that belong to a TensorboardExperiment.",
"file": "TensorboardClient/BatchCreateTensorboardTimeSeries/main.go",
"language": "GO",
"clientMethod": {
"shortName": "BatchCreateTensorboardTimeSeries",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "BatchCreateTensorboardTimeSeries",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.BatchCreateTensorboardTimeSeries",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_BatchReadTensorboardTimeSeriesData_sync",
"title": "aiplatform BatchReadTensorboardTimeSeriesData Sample",
"description": "BatchReadTensorboardTimeSeriesData reads multiple TensorboardTimeSeries' data. The data point number limit is\n1000 for scalars, 100 for tensors and blob references. If the number of\ndata points stored is less than the limit, all data is returned.\nOtherwise, the number limit of data points is randomly selected from\nthis time series and returned.",
"file": "TensorboardClient/BatchReadTensorboardTimeSeriesData/main.go",
"language": "GO",
"clientMethod": {
"shortName": "BatchReadTensorboardTimeSeriesData",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "BatchReadTensorboardTimeSeriesData",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.BatchReadTensorboardTimeSeriesData",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_CancelOperation_sync",
"title": "aiplatform CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "TensorboardClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_CreateTensorboard_sync",
"title": "aiplatform CreateTensorboard Sample",
"description": "CreateTensorboard creates a Tensorboard.",
"file": "TensorboardClient/CreateTensorboard/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateTensorboard",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "CreateTensorboard",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.CreateTensorboard",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_CreateTensorboardExperiment_sync",
"title": "aiplatform CreateTensorboardExperiment Sample",
"description": "CreateTensorboardExperiment creates a TensorboardExperiment.",
"file": "TensorboardClient/CreateTensorboardExperiment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateTensorboardExperiment",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "CreateTensorboardExperiment",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.CreateTensorboardExperiment",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_CreateTensorboardRun_sync",
"title": "aiplatform CreateTensorboardRun Sample",
"description": "CreateTensorboardRun creates a TensorboardRun.",
"file": "TensorboardClient/CreateTensorboardRun/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateTensorboardRun",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "CreateTensorboardRun",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.CreateTensorboardRun",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_CreateTensorboardTimeSeries_sync",
"title": "aiplatform CreateTensorboardTimeSeries Sample",
"description": "CreateTensorboardTimeSeries creates a TensorboardTimeSeries.",
"file": "TensorboardClient/CreateTensorboardTimeSeries/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateTensorboardTimeSeries",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "CreateTensorboardTimeSeries",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.CreateTensorboardTimeSeries",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_DeleteOperation_sync",
"title": "aiplatform DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "TensorboardClient/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.longrunning.Operations.DeleteOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_DeleteTensorboard_sync",
"title": "aiplatform DeleteTensorboard Sample",
"description": "DeleteTensorboard deletes a Tensorboard.",
"file": "TensorboardClient/DeleteTensorboard/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteTensorboard",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "DeleteTensorboard",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.DeleteTensorboard",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_DeleteTensorboardExperiment_sync",
"title": "aiplatform DeleteTensorboardExperiment Sample",
"description": "DeleteTensorboardExperiment deletes a TensorboardExperiment.",
"file": "TensorboardClient/DeleteTensorboardExperiment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteTensorboardExperiment",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "DeleteTensorboardExperiment",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.DeleteTensorboardExperiment",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_DeleteTensorboardRun_sync",
"title": "aiplatform DeleteTensorboardRun Sample",
"description": "DeleteTensorboardRun deletes a TensorboardRun.",
"file": "TensorboardClient/DeleteTensorboardRun/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteTensorboardRun",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "DeleteTensorboardRun",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.DeleteTensorboardRun",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_DeleteTensorboardTimeSeries_sync",
"title": "aiplatform DeleteTensorboardTimeSeries Sample",
"description": "DeleteTensorboardTimeSeries deletes a TensorboardTimeSeries.",
"file": "TensorboardClient/DeleteTensorboardTimeSeries/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteTensorboardTimeSeries",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "DeleteTensorboardTimeSeries",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.DeleteTensorboardTimeSeries",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 56,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_ExportTensorboardTimeSeriesData_sync",
"title": "aiplatform ExportTensorboardTimeSeriesData Sample",
"description": "ExportTensorboardTimeSeriesData exports a TensorboardTimeSeries' data. Data is returned in paginated\nresponses.",
"file": "TensorboardClient/ExportTensorboardTimeSeriesData/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ExportTensorboardTimeSeriesData",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "ExportTensorboardTimeSeriesData",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.ExportTensorboardTimeSeriesData",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_GetIamPolicy_sync",
"title": "aiplatform GetIamPolicy Sample",
"description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.",
"file": "TensorboardClient/GetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_GetLocation_sync",
"title": "aiplatform GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "TensorboardClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_GetOperation_sync",
"title": "aiplatform GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "TensorboardClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1.TensorboardClient.GetOperation",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "longrunningpb.GetOperationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*longrunningpb.Operation",
"client": {
"shortName": "TensorboardClient",
"fullName": "google.cloud.aiplatform.v1.TensorboardClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_GetTensorboard_sync",
"title": "aiplatform GetTensorboard Sample",
"description": "GetTensorboard gets a Tensorboard.",
"file": "TensorboardClient/GetTensorboard/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetTensorboard",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "GetTensorboard",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.GetTensorboard",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_GetTensorboardExperiment_sync",
"title": "aiplatform GetTensorboardExperiment Sample",
"description": "GetTensorboardExperiment gets a TensorboardExperiment.",
"file": "TensorboardClient/GetTensorboardExperiment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetTensorboardExperiment",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "GetTensorboardExperiment",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.GetTensorboardExperiment",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_GetTensorboardRun_sync",
"title": "aiplatform GetTensorboardRun Sample",
"description": "GetTensorboardRun gets a TensorboardRun.",
"file": "TensorboardClient/GetTensorboardRun/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetTensorboardRun",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "GetTensorboardRun",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.GetTensorboardRun",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_GetTensorboardTimeSeries_sync",
"title": "aiplatform GetTensorboardTimeSeries Sample",
"description": "GetTensorboardTimeSeries gets a TensorboardTimeSeries.",
"file": "TensorboardClient/GetTensorboardTimeSeries/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetTensorboardTimeSeries",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "GetTensorboardTimeSeries",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.GetTensorboardTimeSeries",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_ListLocations_sync",
"title": "aiplatform ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "TensorboardClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_ListOperations_sync",
"title": "aiplatform ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "TensorboardClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_ListTensorboardExperiments_sync",
"title": "aiplatform ListTensorboardExperiments Sample",
"description": "ListTensorboardExperiments lists TensorboardExperiments in a Location.",
"file": "TensorboardClient/ListTensorboardExperiments/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListTensorboardExperiments",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "ListTensorboardExperiments",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.ListTensorboardExperiments",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_ListTensorboardRuns_sync",
"title": "aiplatform ListTensorboardRuns Sample",
"description": "ListTensorboardRuns lists TensorboardRuns in a Location.",
"file": "TensorboardClient/ListTensorboardRuns/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListTensorboardRuns",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "ListTensorboardRuns",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.ListTensorboardRuns",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_ListTensorboardTimeSeries_sync",
"title": "aiplatform ListTensorboardTimeSeries Sample",
"description": "ListTensorboardTimeSeries lists TensorboardTimeSeries in a Location.",
"file": "TensorboardClient/ListTensorboardTimeSeries/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListTensorboardTimeSeries",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "ListTensorboardTimeSeries",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.ListTensorboardTimeSeries",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_ListTensorboards_sync",
"title": "aiplatform ListTensorboards Sample",
"description": "ListTensorboards lists Tensorboards in a Location.",
"file": "TensorboardClient/ListTensorboards/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListTensorboards",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "ListTensorboards",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.ListTensorboards",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_ReadTensorboardSize_sync",
"title": "aiplatform ReadTensorboardSize Sample",
"description": "ReadTensorboardSize returns the storage size for a given TensorBoard instance.",
"file": "TensorboardClient/ReadTensorboardSize/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ReadTensorboardSize",
"fullName": "google.cloud.aiplatform.v1.TensorboardClient.ReadTensorboardSize",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ReadTensorboardSizeRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.ReadTensorboardSizeResponse",
"client": {
"shortName": "TensorboardClient",
"fullName": "google.cloud.aiplatform.v1.TensorboardClient"
},
"method": {
"shortName": "ReadTensorboardSize",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardSize",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_ReadTensorboardTimeSeriesData_sync",
"title": "aiplatform ReadTensorboardTimeSeriesData Sample",
"description": "ReadTensorboardTimeSeriesData reads a TensorboardTimeSeries' data. By default, if the number of data\npoints stored is less than 1000, all data is returned. Otherwise, 1000\ndata points is randomly selected from this time series and returned.\nThis value can be changed by changing max_data_points, which can't be\ngreater than 10k.",
"file": "TensorboardClient/ReadTensorboardTimeSeriesData/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ReadTensorboardTimeSeriesData",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "ReadTensorboardTimeSeriesData",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardTimeSeriesData",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_ReadTensorboardUsage_sync",
"title": "aiplatform ReadTensorboardUsage Sample",
"description": "ReadTensorboardUsage returns a list of monthly active users for a given TensorBoard instance.",
"file": "TensorboardClient/ReadTensorboardUsage/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ReadTensorboardUsage",
"fullName": "google.cloud.aiplatform.v1.TensorboardClient.ReadTensorboardUsage",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.ReadTensorboardUsageRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.ReadTensorboardUsageResponse",
"client": {
"shortName": "TensorboardClient",
"fullName": "google.cloud.aiplatform.v1.TensorboardClient"
},
"method": {
"shortName": "ReadTensorboardUsage",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardUsage",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_SetIamPolicy_sync",
"title": "aiplatform SetIamPolicy Sample",
"description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.",
"file": "TensorboardClient/SetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_TestIamPermissions_sync",
"title": "aiplatform TestIamPermissions Sample",
"description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.",
"file": "TensorboardClient/TestIamPermissions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_UpdateTensorboard_sync",
"title": "aiplatform UpdateTensorboard Sample",
"description": "UpdateTensorboard updates a Tensorboard.",
"file": "TensorboardClient/UpdateTensorboard/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateTensorboard",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "UpdateTensorboard",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.UpdateTensorboard",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_UpdateTensorboardExperiment_sync",
"title": "aiplatform UpdateTensorboardExperiment Sample",
"description": "UpdateTensorboardExperiment updates a TensorboardExperiment.",
"file": "TensorboardClient/UpdateTensorboardExperiment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateTensorboardExperiment",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "UpdateTensorboardExperiment",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.UpdateTensorboardExperiment",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_UpdateTensorboardRun_sync",
"title": "aiplatform UpdateTensorboardRun Sample",
"description": "UpdateTensorboardRun updates a TensorboardRun.",
"file": "TensorboardClient/UpdateTensorboardRun/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateTensorboardRun",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "UpdateTensorboardRun",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.UpdateTensorboardRun",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_UpdateTensorboardTimeSeries_sync",
"title": "aiplatform UpdateTensorboardTimeSeries Sample",
"description": "UpdateTensorboardTimeSeries updates a TensorboardTimeSeries.",
"file": "TensorboardClient/UpdateTensorboardTimeSeries/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UpdateTensorboardTimeSeries",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "UpdateTensorboardTimeSeries",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.UpdateTensorboardTimeSeries",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_WaitOperation_sync",
"title": "aiplatform WaitOperation Sample",
"description": "WaitOperation is a utility method from google.longrunning.Operations.",
"file": "TensorboardClient/WaitOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.longrunning.Operations.WaitOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_WriteTensorboardExperimentData_sync",
"title": "aiplatform WriteTensorboardExperimentData Sample",
"description": "WriteTensorboardExperimentData write time series data points of multiple TensorboardTimeSeries in multiple\nTensorboardRun's. If any data fail to be ingested, an error is returned.",
"file": "TensorboardClient/WriteTensorboardExperimentData/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WriteTensorboardExperimentData",
"fullName": "google.cloud.aiplatform.v1.TensorboardClient.WriteTensorboardExperimentData",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "aiplatformpb.WriteTensorboardExperimentDataRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*aiplatformpb.WriteTensorboardExperimentDataResponse",
"client": {
"shortName": "TensorboardClient",
"fullName": "google.cloud.aiplatform.v1.TensorboardClient"
},
"method": {
"shortName": "WriteTensorboardExperimentData",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.WriteTensorboardExperimentData",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_TensorboardService_WriteTensorboardRunData_sync",
"title": "aiplatform WriteTensorboardRunData Sample",
"description": "WriteTensorboardRunData write time series data points into multiple TensorboardTimeSeries under\na TensorboardRun. If any data fail to be ingested, an error is returned.",
"file": "TensorboardClient/WriteTensorboardRunData/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WriteTensorboardRunData",
"fullName": "google.cloud.aiplatform.v1.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.v1.TensorboardClient"
},
"method": {
"shortName": "WriteTensorboardRunData",
"fullName": "google.cloud.aiplatform.v1.TensorboardService.WriteTensorboardRunData",
"service": {
"shortName": "TensorboardService",
"fullName": "google.cloud.aiplatform.v1.TensorboardService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_VizierService_AddTrialMeasurement_sync",
"title": "aiplatform AddTrialMeasurement Sample",
"description": "AddTrialMeasurement adds a measurement of the objective metrics to a Trial. This measurement\nis assumed to have been taken before the Trial is complete.",
"file": "VizierClient/AddTrialMeasurement/main.go",
"language": "GO",
"clientMethod": {
"shortName": "AddTrialMeasurement",
"fullName": "google.cloud.aiplatform.v1.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.v1.VizierClient"
},
"method": {
"shortName": "AddTrialMeasurement",
"fullName": "google.cloud.aiplatform.v1.VizierService.AddTrialMeasurement",
"service": {
"shortName": "VizierService",
"fullName": "google.cloud.aiplatform.v1.VizierService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_VizierService_CancelOperation_sync",
"title": "aiplatform CancelOperation Sample",
"description": "CancelOperation is a utility method from google.longrunning.Operations.",
"file": "VizierClient/CancelOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CancelOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.VizierClient"
},
"method": {
"shortName": "CancelOperation",
"fullName": "google.longrunning.Operations.CancelOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_VizierService_CheckTrialEarlyStoppingState_sync",
"title": "aiplatform CheckTrialEarlyStoppingState Sample",
"description": "CheckTrialEarlyStoppingState checks whether a Trial should stop or not. Returns a\nlong-running operation. When the operation is successful,\nit will contain a\n[CheckTrialEarlyStoppingStateResponse][google.cloud.aiplatform.v1.CheckTrialEarlyStoppingStateResponse].",
"file": "VizierClient/CheckTrialEarlyStoppingState/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CheckTrialEarlyStoppingState",
"fullName": "google.cloud.aiplatform.v1.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.v1.VizierClient"
},
"method": {
"shortName": "CheckTrialEarlyStoppingState",
"fullName": "google.cloud.aiplatform.v1.VizierService.CheckTrialEarlyStoppingState",
"service": {
"shortName": "VizierService",
"fullName": "google.cloud.aiplatform.v1.VizierService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_VizierService_CompleteTrial_sync",
"title": "aiplatform CompleteTrial Sample",
"description": "CompleteTrial marks a Trial as complete.",
"file": "VizierClient/CompleteTrial/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CompleteTrial",
"fullName": "google.cloud.aiplatform.v1.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.v1.VizierClient"
},
"method": {
"shortName": "CompleteTrial",
"fullName": "google.cloud.aiplatform.v1.VizierService.CompleteTrial",
"service": {
"shortName": "VizierService",
"fullName": "google.cloud.aiplatform.v1.VizierService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_VizierService_CreateStudy_sync",
"title": "aiplatform CreateStudy Sample",
"description": "CreateStudy creates a Study. A resource name will be generated after creation of the\nStudy.",
"file": "VizierClient/CreateStudy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateStudy",
"fullName": "google.cloud.aiplatform.v1.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.v1.VizierClient"
},
"method": {
"shortName": "CreateStudy",
"fullName": "google.cloud.aiplatform.v1.VizierService.CreateStudy",
"service": {
"shortName": "VizierService",
"fullName": "google.cloud.aiplatform.v1.VizierService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_VizierService_CreateTrial_sync",
"title": "aiplatform CreateTrial Sample",
"description": "CreateTrial adds a user provided Trial to a Study.",
"file": "VizierClient/CreateTrial/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateTrial",
"fullName": "google.cloud.aiplatform.v1.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.v1.VizierClient"
},
"method": {
"shortName": "CreateTrial",
"fullName": "google.cloud.aiplatform.v1.VizierService.CreateTrial",
"service": {
"shortName": "VizierService",
"fullName": "google.cloud.aiplatform.v1.VizierService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_VizierService_DeleteOperation_sync",
"title": "aiplatform DeleteOperation Sample",
"description": "DeleteOperation is a utility method from google.longrunning.Operations.",
"file": "VizierClient/DeleteOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.VizierClient"
},
"method": {
"shortName": "DeleteOperation",
"fullName": "google.longrunning.Operations.DeleteOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_VizierService_DeleteStudy_sync",
"title": "aiplatform DeleteStudy Sample",
"description": "DeleteStudy deletes a Study.",
"file": "VizierClient/DeleteStudy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteStudy",
"fullName": "google.cloud.aiplatform.v1.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.v1.VizierClient"
},
"method": {
"shortName": "DeleteStudy",
"fullName": "google.cloud.aiplatform.v1.VizierService.DeleteStudy",
"service": {
"shortName": "VizierService",
"fullName": "google.cloud.aiplatform.v1.VizierService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_VizierService_DeleteTrial_sync",
"title": "aiplatform DeleteTrial Sample",
"description": "DeleteTrial deletes a Trial.",
"file": "VizierClient/DeleteTrial/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteTrial",
"fullName": "google.cloud.aiplatform.v1.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.v1.VizierClient"
},
"method": {
"shortName": "DeleteTrial",
"fullName": "google.cloud.aiplatform.v1.VizierService.DeleteTrial",
"service": {
"shortName": "VizierService",
"fullName": "google.cloud.aiplatform.v1.VizierService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_VizierService_GetIamPolicy_sync",
"title": "aiplatform GetIamPolicy Sample",
"description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.",
"file": "VizierClient/GetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.VizierClient"
},
"method": {
"shortName": "GetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_VizierService_GetLocation_sync",
"title": "aiplatform GetLocation Sample",
"description": "GetLocation gets information about a location.",
"file": "VizierClient/GetLocation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetLocation",
"fullName": "google.cloud.aiplatform.v1.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.v1.VizierClient"
},
"method": {
"shortName": "GetLocation",
"fullName": "google.cloud.location.Locations.GetLocation",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_VizierService_GetOperation_sync",
"title": "aiplatform GetOperation Sample",
"description": "GetOperation is a utility method from google.longrunning.Operations.",
"file": "VizierClient/GetOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.VizierClient"
},
"method": {
"shortName": "GetOperation",
"fullName": "google.longrunning.Operations.GetOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_VizierService_GetStudy_sync",
"title": "aiplatform GetStudy Sample",
"description": "GetStudy gets a Study by name.",
"file": "VizierClient/GetStudy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetStudy",
"fullName": "google.cloud.aiplatform.v1.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.v1.VizierClient"
},
"method": {
"shortName": "GetStudy",
"fullName": "google.cloud.aiplatform.v1.VizierService.GetStudy",
"service": {
"shortName": "VizierService",
"fullName": "google.cloud.aiplatform.v1.VizierService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_VizierService_GetTrial_sync",
"title": "aiplatform GetTrial Sample",
"description": "GetTrial gets a Trial.",
"file": "VizierClient/GetTrial/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetTrial",
"fullName": "google.cloud.aiplatform.v1.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.v1.VizierClient"
},
"method": {
"shortName": "GetTrial",
"fullName": "google.cloud.aiplatform.v1.VizierService.GetTrial",
"service": {
"shortName": "VizierService",
"fullName": "google.cloud.aiplatform.v1.VizierService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_VizierService_ListLocations_sync",
"title": "aiplatform ListLocations Sample",
"description": "ListLocations lists information about the supported locations for this service.",
"file": "VizierClient/ListLocations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListLocations",
"fullName": "google.cloud.aiplatform.v1.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.v1.VizierClient"
},
"method": {
"shortName": "ListLocations",
"fullName": "google.cloud.location.Locations.ListLocations",
"service": {
"shortName": "Locations",
"fullName": "google.cloud.location.Locations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_VizierService_ListOperations_sync",
"title": "aiplatform ListOperations Sample",
"description": "ListOperations is a utility method from google.longrunning.Operations.",
"file": "VizierClient/ListOperations/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOperations",
"fullName": "google.cloud.aiplatform.v1.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.v1.VizierClient"
},
"method": {
"shortName": "ListOperations",
"fullName": "google.longrunning.Operations.ListOperations",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_VizierService_ListOptimalTrials_sync",
"title": "aiplatform ListOptimalTrials Sample",
"description": "ListOptimalTrials lists the pareto-optimal Trials for multi-objective Study or the\noptimal Trials for single-objective Study. The definition of\npareto-optimal can be checked in wiki page.\nhttps: //en.wikipedia.org/wiki/Pareto_efficiency",
"file": "VizierClient/ListOptimalTrials/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListOptimalTrials",
"fullName": "google.cloud.aiplatform.v1.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.v1.VizierClient"
},
"method": {
"shortName": "ListOptimalTrials",
"fullName": "google.cloud.aiplatform.v1.VizierService.ListOptimalTrials",
"service": {
"shortName": "VizierService",
"fullName": "google.cloud.aiplatform.v1.VizierService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_VizierService_ListStudies_sync",
"title": "aiplatform ListStudies Sample",
"description": "ListStudies lists all the studies in a region for an associated project.",
"file": "VizierClient/ListStudies/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListStudies",
"fullName": "google.cloud.aiplatform.v1.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.v1.VizierClient"
},
"method": {
"shortName": "ListStudies",
"fullName": "google.cloud.aiplatform.v1.VizierService.ListStudies",
"service": {
"shortName": "VizierService",
"fullName": "google.cloud.aiplatform.v1.VizierService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_VizierService_ListTrials_sync",
"title": "aiplatform ListTrials Sample",
"description": "ListTrials lists the Trials associated with a Study.",
"file": "VizierClient/ListTrials/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListTrials",
"fullName": "google.cloud.aiplatform.v1.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.v1.VizierClient"
},
"method": {
"shortName": "ListTrials",
"fullName": "google.cloud.aiplatform.v1.VizierService.ListTrials",
"service": {
"shortName": "VizierService",
"fullName": "google.cloud.aiplatform.v1.VizierService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 60,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_VizierService_LookupStudy_sync",
"title": "aiplatform LookupStudy Sample",
"description": "LookupStudy looks a study up using the user-defined display_name field instead of the\nfully qualified resource name.",
"file": "VizierClient/LookupStudy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "LookupStudy",
"fullName": "google.cloud.aiplatform.v1.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.v1.VizierClient"
},
"method": {
"shortName": "LookupStudy",
"fullName": "google.cloud.aiplatform.v1.VizierService.LookupStudy",
"service": {
"shortName": "VizierService",
"fullName": "google.cloud.aiplatform.v1.VizierService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_VizierService_SetIamPolicy_sync",
"title": "aiplatform SetIamPolicy Sample",
"description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.",
"file": "VizierClient/SetIamPolicy/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SetIamPolicy",
"fullName": "google.cloud.aiplatform.v1.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.v1.VizierClient"
},
"method": {
"shortName": "SetIamPolicy",
"fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_VizierService_StopTrial_sync",
"title": "aiplatform StopTrial Sample",
"description": "StopTrial stops a Trial.",
"file": "VizierClient/StopTrial/main.go",
"language": "GO",
"clientMethod": {
"shortName": "StopTrial",
"fullName": "google.cloud.aiplatform.v1.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.v1.VizierClient"
},
"method": {
"shortName": "StopTrial",
"fullName": "google.cloud.aiplatform.v1.VizierService.StopTrial",
"service": {
"shortName": "VizierService",
"fullName": "google.cloud.aiplatform.v1.VizierService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_VizierService_SuggestTrials_sync",
"title": "aiplatform SuggestTrials Sample",
"description": "SuggestTrials adds one or more Trials to a Study, with parameter values\nsuggested by Vertex AI Vizier. Returns a long-running\noperation associated with the generation of Trial suggestions.\nWhen this long-running operation succeeds, it will contain\na\n[SuggestTrialsResponse][google.cloud.aiplatform.v1.SuggestTrialsResponse].",
"file": "VizierClient/SuggestTrials/main.go",
"language": "GO",
"clientMethod": {
"shortName": "SuggestTrials",
"fullName": "google.cloud.aiplatform.v1.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.v1.VizierClient"
},
"method": {
"shortName": "SuggestTrials",
"fullName": "google.cloud.aiplatform.v1.VizierService.SuggestTrials",
"service": {
"shortName": "VizierService",
"fullName": "google.cloud.aiplatform.v1.VizierService"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 58,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_VizierService_TestIamPermissions_sync",
"title": "aiplatform TestIamPermissions Sample",
"description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.",
"file": "VizierClient/TestIamPermissions/main.go",
"language": "GO",
"clientMethod": {
"shortName": "TestIamPermissions",
"fullName": "google.cloud.aiplatform.v1.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.v1.VizierClient"
},
"method": {
"shortName": "TestIamPermissions",
"fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
"service": {
"shortName": "IAMPolicy",
"fullName": "google.iam.v1.IAMPolicy"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "aiplatform_v1_generated_VizierService_WaitOperation_sync",
"title": "aiplatform WaitOperation Sample",
"description": "WaitOperation is a utility method from google.longrunning.Operations.",
"file": "VizierClient/WaitOperation/main.go",
"language": "GO",
"clientMethod": {
"shortName": "WaitOperation",
"fullName": "google.cloud.aiplatform.v1.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.v1.VizierClient"
},
"method": {
"shortName": "WaitOperation",
"fullName": "google.longrunning.Operations.WaitOperation",
"service": {
"shortName": "Operations",
"fullName": "google.longrunning.Operations"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
}
]
}