vertexai

package
v1.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package vertexai defines operations in the declarative SDK.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2022 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package vertexai defines types and methods for handling vertex GCP resources.

Index

Constants

View Source
const EndpointMaxPage = -1
View Source
const EndpointTrafficSplitMaxPage = -1
View Source
const MetadataSchemaMaxPage = -1
View Source
const MetadataStoreMaxPage = -1
View Source
const ModelDeploymentMaxPage = -1
View Source
const ModelMaxPage = -1

Variables

View Source
var YAML_endpoint = []byte("info:\n  title: VertexAI/Endpoint\n  description: The VertexAI Endpoint resource\n  x-dcl-struct-name: Endpoint\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a Endpoint\n    parameters:\n    - name: Endpoint\n      required: true\n      description: A full instance of a Endpoint\n  apply:\n    description: The function used to apply information about a Endpoint\n    parameters:\n    - name: Endpoint\n      required: true\n      description: A full instance of a Endpoint\n  delete:\n    description: The function used to delete a Endpoint\n    parameters:\n    - name: Endpoint\n      required: true\n      description: A full instance of a Endpoint\n  deleteAll:\n    description: The function used to delete all Endpoint\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many Endpoint\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    Endpoint:\n      title: Endpoint\n      x-dcl-id: projects/{{project}}/locations/{{location}}/endpoints/{{name}}\n      x-dcl-parent-container: project\n      x-dcl-labels: labels\n      x-dcl-has-create: true\n      x-dcl-has-iam: false\n      type: object\n      required:\n      - displayName\n      - project\n      - location\n      properties:\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. Timestamp when this Endpoint was created.\n          x-kubernetes-immutable: true\n        deployedModels:\n          type: array\n          x-dcl-go-name: DeployedModels\n          readOnly: true\n          description: Output only. The models deployed in this Endpoint. To add or\n            remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel\n            respectively.\n          x-kubernetes-immutable: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: EndpointDeployedModels\n            properties:\n              automaticResources:\n                type: object\n                x-dcl-go-name: AutomaticResources\n                x-dcl-go-type: EndpointDeployedModelsAutomaticResources\n                description: A description of resources that to large degree are decided\n                  by Vertex AI, and require only a modest additional configuration.\n                x-kubernetes-immutable: true\n                x-dcl-conflicts:\n                - dedicatedResources\n                properties:\n                  maxReplicaCount:\n                    type: integer\n                    format: int64\n                    x-dcl-go-name: MaxReplicaCount\n                    description: The maximum number of replicas this DeployedModel\n                      may be deployed on when the traffic against it increases. If\n                      the requested value is too large, the deployment will error,\n                      but if deployment succeeds then the ability to scale the model\n                      to that many replicas is guaranteed (barring service outages).\n                      If traffic against the DeployedModel increases beyond what its\n                      replicas at maximum may handle, a portion of the traffic will\n                      be dropped. If this value is not provided, a no upper bound\n                      for scaling under heavy traffic will be assume, though Vertex\n                      AI may be unable to scale beyond certain replica number.\n                    x-kubernetes-immutable: true\n                  minReplicaCount:\n                    type: integer\n                    format: int64\n                    x-dcl-go-name: MinReplicaCount\n                    description: The minimum number of replicas this DeployedModel\n                      will be always deployed on. If traffic against it increases,\n                      it may dynamically be deployed onto more replicas up to max_replica_count,\n                      and as traffic decreases, some of these extra replicas may be\n                      freed. If the requested value is too large, the deployment will\n                      error.\n                    x-kubernetes-immutable: true\n              createTime:\n                type: string\n                format: date-time\n                x-dcl-go-name: CreateTime\n                readOnly: true\n                description: Output only. Timestamp when the DeployedModel was created.\n                x-kubernetes-immutable: true\n              dedicatedResources:\n                type: object\n                x-dcl-go-name: DedicatedResources\n                x-dcl-go-type: EndpointDeployedModelsDedicatedResources\n                description: A description of resources that are dedicated to the\n                  DeployedModel, and that need a higher degree of manual configuration.\n                x-kubernetes-immutable: true\n                x-dcl-conflicts:\n                - automaticResources\n                properties:\n                  autoscalingMetricSpecs:\n                    type: array\n                    x-dcl-go-name: AutoscalingMetricSpecs\n                    description: The metric specifications that overrides a resource\n                      utilization metric (CPU utilization, accelerator's duty cycle,\n                      and so on) target value (default to 60 if not set). At most\n                      one entry is allowed per metric. If machine_spec.accelerator_count\n                      is above 0, the autoscaling will be based on both CPU utilization\n                      and accelerator's duty cycle metrics and scale up when either\n                      metrics exceeds its target value while scale down if both metrics\n                      are under their target value. The default target value is 60\n                      for both metrics. If machine_spec.accelerator_count is 0, the\n                      autoscaling will be based on CPU utilization metric only with\n                      default target value 60 if not explicitly set. For example,\n                      in the case of Online Prediction, if you want to override target\n                      CPU utilization to 80, you should set autoscaling_metric_specs.metric_name\n                      to `aiplatform.googleapis.com/prediction/online/cpu/utilization`\n                      and autoscaling_metric_specs.target to `80`.\n                    x-kubernetes-immutable: true\n                    x-dcl-send-empty: true\n                    x-dcl-list-type: list\n                    items:\n                      type: object\n                      x-dcl-go-type: EndpointDeployedModelsDedicatedResourcesAutoscalingMetricSpecs\n                      properties:\n                        metricName:\n                          type: string\n                          x-dcl-go-name: MetricName\n                          description: 'The resource metric name. Supported metrics:\n                            * For Online Prediction: * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle`\n                            * `aiplatform.googleapis.com/prediction/online/cpu/utilization`'\n                          x-kubernetes-immutable: true\n                        target:\n                          type: integer\n                          format: int64\n                          x-dcl-go-name: Target\n                          description: The target resource utilization in percentage\n                            (1% - 100%) for the given metric; once the real usage\n                            deviates from the target by a certain percentage, the\n                            machine replicas change. The default value is 60 (representing\n                            60%) if not provided.\n                          x-kubernetes-immutable: true\n                  machineSpec:\n                    type: object\n                    x-dcl-go-name: MachineSpec\n                    x-dcl-go-type: EndpointDeployedModelsDedicatedResourcesMachineSpec\n                    description: The specification of a single machine used by the\n                      prediction.\n                    x-kubernetes-immutable: true\n                    properties:\n                      acceleratorCount:\n                        type: integer\n                        format: int64\n                        x-dcl-go-name: AcceleratorCount\n                        description: The number of accelerators to attach to the machine.\n                        x-kubernetes-immutable: true\n                      acceleratorType:\n                        type: string\n                        x-dcl-go-name: AcceleratorType\n                        x-dcl-go-type: EndpointDeployedModelsDedicatedResourcesMachineSpecAcceleratorTypeEnum\n                        description: 'The type of accelerator(s) that may be attached\n                          to the machine as per accelerator_count. Possible values:\n                          ACCELERATOR_TYPE_UNSPECIFIED, NVIDIA_TESLA_K80, NVIDIA_TESLA_P100,\n                          NVIDIA_TESLA_V100, NVIDIA_TESLA_P4, NVIDIA_TESLA_T4, NVIDIA_TESLA_A100,\n                          TPU_V2, TPU_V3'\n                        x-kubernetes-immutable: true\n                        enum:\n                        - ACCELERATOR_TYPE_UNSPECIFIED\n                        - NVIDIA_TESLA_K80\n                        - NVIDIA_TESLA_P100\n                        - NVIDIA_TESLA_V100\n                        - NVIDIA_TESLA_P4\n                        - NVIDIA_TESLA_T4\n                        - NVIDIA_TESLA_A100\n                        - TPU_V2\n                        - TPU_V3\n                      machineType:\n                        type: string\n                        x-dcl-go-name: MachineType\n                        description: 'The type of the machine. See the [list of machine\n                          types supported for prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types)\n                          See the [list of machine types supported for custom training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types).\n                          For DeployedModel this field is optional, and the default\n                          value is `n1-standard-2`. For BatchPredictionJob or as part\n                          of WorkerPoolSpec this field is required. TODO(rsurowka):\n                          Try to better unify the required vs optional.'\n                        x-kubernetes-immutable: true\n                  maxReplicaCount:\n                    type: integer\n                    format: int64\n                    x-dcl-go-name: MaxReplicaCount\n                    description: The maximum number of replicas this DeployedModel\n                      may be deployed on when the traffic against it increases. If\n                      the requested value is too large, the deployment will error,\n                      but if deployment succeeds then the ability to scale the model\n                      to that many replicas is guaranteed (barring service outages).\n                      If traffic against the DeployedModel increases beyond what its\n                      replicas at maximum may handle, a portion of the traffic will\n                      be dropped. If this value is not provided, will use min_replica_count\n                      as the default value. The value of this field impacts the charge\n                      against Vertex CPU and GPU quotas. Specifically, you will be\n                      charged for max_replica_count * number of cores in the selected\n                      machine type) and (max_replica_count * number of GPUs per replica\n                      in the selected machine type).\n                    x-kubernetes-immutable: true\n                  minReplicaCount:\n                    type: integer\n                    format: int64\n                    x-dcl-go-name: MinReplicaCount\n                    description: The minimum number of machine replicas this DeployedModel\n                      will be always deployed on. This value must be greater than\n                      or equal to 1. If traffic against the DeployedModel increases,\n                      it may dynamically be deployed onto more replicas, and as traffic\n                      decreases, some of these extra replicas may be freed.\n                    x-kubernetes-immutable: true\n              disableContainerLogging:\n                type: boolean\n                x-dcl-go-name: DisableContainerLogging\n                description: For custom-trained Models and AutoML Tabular Models,\n                  the container of the DeployedModel instances will send `stderr`\n                  and `stdout` streams to Stackdriver Logging by default. Please note\n                  that the logs incur cost, which are subject to [Cloud Logging pricing](https://cloud.google.com/stackdriver/pricing).\n                  User can disable container logging by setting this flag to true.\n                x-kubernetes-immutable: true\n              displayName:\n                type: string\n                x-dcl-go-name: DisplayName\n                description: The display name of the DeployedModel. If not provided\n                  upon creation, the Model's display_name is used.\n                x-kubernetes-immutable: true\n              enableAccessLogging:\n                type: boolean\n                x-dcl-go-name: EnableAccessLogging\n                description: These logs are like standard server access logs, containing\n                  information like timestamp and latency for each prediction request.\n                  Note that Stackdriver logs may incur a cost, especially if your\n                  project receives prediction requests at a high queries per second\n                  rate (QPS). Estimate your costs before enabling this option.\n                x-kubernetes-immutable: true\n              id:\n                type: string\n                x-dcl-go-name: Id\n                description: The ID of the DeployedModel. If not provided upon deployment,\n                  Vertex AI will generate a value for this ID. This value should be\n                  1-10 characters, and valid characters are /[0-9]/.\n                x-kubernetes-immutable: true\n              model:\n                type: string\n                x-dcl-go-name: Model\n                description: The name of the Model that this is the deployment of.\n                  Note that the Model may be in a different location than the DeployedModel's\n                  Endpoint.\n                x-kubernetes-immutable: true\n                x-dcl-references:\n                - resource: Aiplatform/Model\n                  field: selfLink\n              modelVersionId:\n                type: string\n                x-dcl-go-name: ModelVersionId\n                readOnly: true\n                description: Output only. The version ID of the model that is deployed.\n                x-kubernetes-immutable: true\n              privateEndpoints:\n                type: object\n                x-dcl-go-name: PrivateEndpoints\n                x-dcl-go-type: EndpointDeployedModelsPrivateEndpoints\n                readOnly: true\n                description: Output only. Provide paths for users to send predict/explain/health\n                  requests directly to the deployed model services running on Cloud\n                  via private services access. This field is populated if network\n                  is configured.\n                x-kubernetes-immutable: true\n                properties:\n                  explainHttpUri:\n                    type: string\n                    x-dcl-go-name: ExplainHttpUri\n                    readOnly: true\n                    description: Output only. Http(s) path to send explain requests.\n                    x-kubernetes-immutable: true\n                  healthHttpUri:\n                    type: string\n                    x-dcl-go-name: HealthHttpUri\n                    readOnly: true\n                    description: Output only. Http(s) path to send health check requests.\n                    x-kubernetes-immutable: true\n                  predictHttpUri:\n                    type: string\n                    x-dcl-go-name: PredictHttpUri\n                    readOnly: true\n                    description: Output only. Http(s) path to send prediction requests.\n                    x-kubernetes-immutable: true\n                  serviceAttachment:\n                    type: string\n                    x-dcl-go-name: ServiceAttachment\n                    readOnly: true\n                    description: Output only. The name of the service attachment resource.\n                      Populated if private service connect is enabled.\n                    x-kubernetes-immutable: true\n              serviceAccount:\n                type: string\n                x-dcl-go-name: ServiceAccount\n                description: The service account that the DeployedModel's container\n                  runs as. Specify the email address of the service account. If this\n                  service account is not specified, the container runs as a service\n                  account that doesn't have access to the resource project. Users\n                  deploying the Model must have the `iam.serviceAccounts.actAs` permission\n                  on this service account.\n                x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: The description of the Endpoint.\n        displayName:\n          type: string\n          x-dcl-go-name: DisplayName\n          description: Required. The display name of the Endpoint. The name can be\n            up to 128 characters long and can be consist of any UTF-8 characters.\n        encryptionSpec:\n          type: object\n          x-dcl-go-name: EncryptionSpec\n          x-dcl-go-type: EndpointEncryptionSpec\n          description: Customer-managed encryption key spec for an Endpoint. If set,\n            this Endpoint and all sub-resources of this Endpoint will be secured by\n            this key.\n          x-kubernetes-immutable: true\n          required:\n          - kmsKeyName\n          properties:\n            kmsKeyName:\n              type: string\n              x-dcl-go-name: KmsKeyName\n              description: 'Required. The Cloud KMS resource identifier of the customer\n                managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.\n                The key needs to be in the same region as where the compute resource\n                is created.'\n              x-kubernetes-immutable: true\n              x-dcl-references:\n              - resource: Cloudkms/CryptoKey\n                field: name\n        etag:\n          type: string\n          x-dcl-go-name: Etag\n          readOnly: true\n          description: Used to perform consistent read-modify-write updates. If not\n            set, a blind \"overwrite\" update happens.\n          x-kubernetes-immutable: true\n        labels:\n          type: object\n          additionalProperties:\n            type: string\n          x-dcl-go-name: Labels\n          description: The labels with user-defined metadata to organize your Endpoints.\n            Label keys and values can be no longer than 64 characters (Unicode codepoints),\n            can only contain lowercase letters, numeric characters, underscores and\n            dashes. International characters are allowed. See https://goo.gl/xmQnxf\n            for more information and examples of labels.\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location for the resource\n          x-kubernetes-immutable: true\n        modelDeploymentMonitoringJob:\n          type: string\n          x-dcl-go-name: ModelDeploymentMonitoringJob\n          readOnly: true\n          description: 'Output only. Resource name of the Model Monitoring job associated\n            with this Endpoint if monitoring is enabled by CreateModelDeploymentMonitoringJob.\n            Format: `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`'\n          x-kubernetes-immutable: true\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: Output only. The resource name of the Endpoint.\n          x-kubernetes-immutable: true\n          x-dcl-server-generated-parameter: true\n        network:\n          type: string\n          x-dcl-go-name: Network\n          description: 'The full name of the Google Compute Engine [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)\n            to which the Endpoint should be peered. Private services access must already\n            be configured for the network. If left unspecified, the Endpoint is not\n            peered with any network. Only one of the fields, network or enable_private_service_connect,\n            can be set. [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert):\n            `projects/{project}/global/networks/{network}`. Where `{project}` is a\n            project number, as in `12345`, and `{network}` is network name.'\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Compute/Network\n            field: selfLink\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n        updateTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: UpdateTime\n          readOnly: true\n          description: Output only. Timestamp when this Endpoint was last updated.\n          x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vertexai/endpoint.yaml

View Source
var YAML_endpoint_traffic_split = []byte("info:\n  title: VertexAI/EndpointTrafficSplit\n  description: The VertexAI EndpointTrafficSplit resource\n  x-dcl-struct-name: EndpointTrafficSplit\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a EndpointTrafficSplit\n    parameters:\n    - name: EndpointTrafficSplit\n      required: true\n      description: A full instance of a EndpointTrafficSplit\n  apply:\n    description: The function used to apply information about a EndpointTrafficSplit\n    parameters:\n    - name: EndpointTrafficSplit\n      required: true\n      description: A full instance of a EndpointTrafficSplit\ncomponents:\n  schemas:\n    EndpointTrafficSplit:\n      title: EndpointTrafficSplit\n      x-dcl-id: projects/{{project}}/locations/{{location}}/endpoints/{{endpoint}}\n      x-dcl-parent-container: project\n      x-dcl-has-create: false\n      x-dcl-has-iam: false\n      type: object\n      required:\n      - endpoint\n      - project\n      - location\n      - trafficSplit\n      properties:\n        endpoint:\n          type: string\n          x-dcl-go-name: Endpoint\n          description: The endpoint for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Vertexai/Endpoint\n            field: name\n            parent: true\n        etag:\n          type: string\n          x-dcl-go-name: Etag\n          readOnly: true\n          description: Used to perform consistent read-modify-write updates. If not\n            set, a blind \"overwrite\" update happens.\n          x-kubernetes-immutable: true\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location for the resource\n          x-kubernetes-immutable: true\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n        trafficSplit:\n          type: array\n          x-dcl-go-name: TrafficSplit\n          description: A map from a DeployedModel's ID to the percentage of this Endpoint's\n            traffic that should be forwarded to that DeployedModel. If a DeployedModel's\n            ID is not listed in this map, then it receives no traffic. The traffic\n            percentage values must add up to 100, or map must be empty if the Endpoint\n            is to not accept any traffic at a moment.\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: EndpointTrafficSplitTrafficSplit\n            required:\n            - deployedModelId\n            - trafficPercentage\n            properties:\n              deployedModelId:\n                type: string\n                x-dcl-go-name: DeployedModelId\n                description: A deployed model's id.\n                x-dcl-references:\n                - resource: Vertexai/ModelDeployment\n                  field: id\n              trafficPercentage:\n                type: integer\n                format: int64\n                x-dcl-go-name: TrafficPercentage\n                description: The percentage of this Endpoint's traffic that should\n                  be forwarded to the DeployedModel.\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vertexai/endpoint_traffic_split.yaml

View Source
var YAML_metadata_schema = []byte("info:\n  title: VertexAI/MetadataSchema\n  description: The VertexAI MetadataSchema resource\n  x-dcl-struct-name: MetadataSchema\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a MetadataSchema\n    parameters:\n    - name: MetadataSchema\n      required: true\n      description: A full instance of a MetadataSchema\n  apply:\n    description: The function used to apply information about a MetadataSchema\n    parameters:\n    - name: MetadataSchema\n      required: true\n      description: A full instance of a MetadataSchema\n  list:\n    description: The function used to list information about many MetadataSchema\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n    - name: metadatastore\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    MetadataSchema:\n      title: MetadataSchema\n      x-dcl-id: projects/{{project}}/locations/{{location}}/metadataStores/{{metadata_store}}/metadataSchemas/{{name}}\n      x-dcl-parent-container: project\n      x-dcl-has-create: true\n      x-dcl-has-iam: false\n      type: object\n      required:\n      - name\n      - schemaVersion\n      - schema\n      - schemaType\n      - project\n      - location\n      - metadataStore\n      properties:\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. Timestamp when this MetadataSchema was created.\n          x-kubernetes-immutable: true\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location for the resource\n          x-kubernetes-immutable: true\n        metadataStore:\n          type: string\n          x-dcl-go-name: MetadataStore\n          description: The metadata store for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Vertex/MetadataStore\n            field: name\n            parent: true\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: Output only. The resource name of the MetadataSchema.\n          x-kubernetes-immutable: true\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n        schema:\n          type: string\n          x-dcl-go-name: Schema\n          description: Required. The raw YAML string representation of the MetadataSchema.\n            The combination of [MetadataSchema.version] and the schema name given\n            by `title` in [MetadataSchema.schema] must be unique within a MetadataStore.\n            The schema is defined as an OpenAPI 3.0.2 [MetadataSchema Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#schemaObject)\n          x-kubernetes-immutable: true\n        schemaType:\n          type: string\n          x-dcl-go-name: SchemaType\n          x-dcl-go-type: MetadataSchemaSchemaTypeEnum\n          description: 'The type of the MetadataSchema. This is a property that identifies\n            which metadata types will use the MetadataSchema. Possible values: METADATA_SCHEMA_TYPE_UNSPECIFIED,\n            ARTIFACT_TYPE, EXECUTION_TYPE, CONTEXT_TYPE'\n          x-kubernetes-immutable: true\n          enum:\n          - METADATA_SCHEMA_TYPE_UNSPECIFIED\n          - ARTIFACT_TYPE\n          - EXECUTION_TYPE\n          - CONTEXT_TYPE\n        schemaVersion:\n          type: string\n          x-dcl-go-name: SchemaVersion\n          description: 'The version of the MetadataSchema. The version''s format must\n            match the following regular expression: `^[0-9]+.+.+$`, which would allow\n            to order/compare different versions. Example: 1.0.0, 1.0.1, etc.'\n          x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vertexai/metadata_schema.yaml

View Source
var YAML_metadata_store = []byte("info:\n  title: VertexAI/MetadataStore\n  description: The VertexAI MetadataStore resource\n  x-dcl-struct-name: MetadataStore\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a MetadataStore\n    parameters:\n    - name: MetadataStore\n      required: true\n      description: A full instance of a MetadataStore\n  apply:\n    description: The function used to apply information about a MetadataStore\n    parameters:\n    - name: MetadataStore\n      required: true\n      description: A full instance of a MetadataStore\n  delete:\n    description: The function used to delete a MetadataStore\n    parameters:\n    - name: MetadataStore\n      required: true\n      description: A full instance of a MetadataStore\n  deleteAll:\n    description: The function used to delete all MetadataStore\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many MetadataStore\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    MetadataStore:\n      title: MetadataStore\n      x-dcl-id: projects/{{project}}/locations/{{location}}/metadataStores/{{name}}\n      x-dcl-parent-container: project\n      x-dcl-has-create: true\n      x-dcl-has-iam: false\n      type: object\n      required:\n      - name\n      - project\n      - location\n      properties:\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. Timestamp when this MetadataStore was created.\n          x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: Description of the MetadataStore.\n          x-kubernetes-immutable: true\n        encryptionSpec:\n          type: object\n          x-dcl-go-name: EncryptionSpec\n          x-dcl-go-type: MetadataStoreEncryptionSpec\n          description: Customer-managed encryption key spec for a Metadata Store.\n            If set, this Metadata Store and all sub-resources of this Metadata Store\n            are secured using this key.\n          x-kubernetes-immutable: true\n          required:\n          - kmsKeyName\n          properties:\n            kmsKeyName:\n              type: string\n              x-dcl-go-name: KmsKeyName\n              description: 'Required. The Cloud KMS resource identifier of the customer\n                managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.\n                The key needs to be in the same region as where the compute resource\n                is created.'\n              x-kubernetes-immutable: true\n              x-dcl-references:\n              - resource: Cloudkms/CryptoKey\n                field: name\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location for the resource\n          x-kubernetes-immutable: true\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: The resource name of the MetadataStore instance.\n          x-kubernetes-immutable: true\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n        state:\n          type: object\n          x-dcl-go-name: State\n          x-dcl-go-type: MetadataStoreState\n          readOnly: true\n          description: Output only. State information of the MetadataStore.\n          x-kubernetes-immutable: true\n          properties:\n            diskUtilizationBytes:\n              type: integer\n              format: int64\n              x-dcl-go-name: DiskUtilizationBytes\n              description: The disk utilization of the MetadataStore in bytes.\n              x-kubernetes-immutable: true\n        updateTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: UpdateTime\n          readOnly: true\n          description: Output only. Timestamp when this MetadataStore was last updated.\n          x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vertexai/metadata_store.yaml

View Source
var YAML_model = []byte("info:\n  title: VertexAI/Model\n  description: The VertexAI Model resource\n  x-dcl-struct-name: Model\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a Model\n    parameters:\n    - name: Model\n      required: true\n      description: A full instance of a Model\n  apply:\n    description: The function used to apply information about a Model\n    parameters:\n    - name: Model\n      required: true\n      description: A full instance of a Model\n  delete:\n    description: The function used to delete a Model\n    parameters:\n    - name: Model\n      required: true\n      description: A full instance of a Model\n  deleteAll:\n    description: The function used to delete all Model\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many Model\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    Model:\n      title: Model\n      x-dcl-id: projects/{{project}}/locations/{{location}}/models/{{name}}\n      x-dcl-uses-state-hint: true\n      x-dcl-parent-container: project\n      x-dcl-labels: labels\n      x-dcl-has-create: true\n      x-dcl-has-iam: false\n      type: object\n      required:\n      - displayName\n      - containerSpec\n      - project\n      - location\n      properties:\n        artifactUri:\n          type: string\n          x-dcl-go-name: ArtifactUri\n          description: Immutable. The path to the directory containing the Model artifact\n            and any of its supporting files. Not present for AutoML Models.\n          x-kubernetes-immutable: true\n        containerSpec:\n          type: object\n          x-dcl-go-name: ContainerSpec\n          x-dcl-go-type: ModelContainerSpec\n          description: Input only. The specification of the container that is to be\n            used when deploying this Model. The specification is ingested upon ModelService.UploadModel,\n            and all binaries it contains are copied and stored internally by Vertex\n            AI. Not present for AutoML Models.\n          x-kubernetes-immutable: true\n          x-dcl-mutable-unreadable: true\n          required:\n          - imageUri\n          properties:\n            args:\n              type: array\n              x-dcl-go-name: Args\n              description: 'Immutable. Specifies arguments for the command that runs\n                when the container starts. This overrides the container''s [`CMD`](https://docs.docker.com/engine/reference/builder/#cmd).\n                Specify this field as an array of executable and arguments, similar\n                to a Docker `CMD`''s \"default parameters\" form. If you don''t specify\n                this field but do specify the command field, then the command from\n                the `command` field runs without any additional arguments. See the\n                [Kubernetes documentation about how the `command` and `args` fields\n                interact with a container''s `ENTRYPOINT` and `CMD`](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes).\n                If you don''t specify this field and don''t specify the `command`\n                field, then the container''s [`ENTRYPOINT`](https://docs.docker.com/engine/reference/builder/#cmd)\n                and `CMD` determine what runs based on their default behavior. See\n                the Docker documentation about [how `CMD` and `ENTRYPOINT` interact](https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact).\n                In this field, you can reference [environment variables set by Vertex\n                AI](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables)\n                and environment variables set in the env field. You cannot reference\n                environment variables set in the Docker image. In order for environment\n                variables to be expanded, reference them by using the following syntax:\n                `$(VARIABLE_NAME)` Note that this differs from Bash variable expansion,\n                which does not use parentheses. If a variable cannot be resolved,\n                the reference in the input string is used unchanged. To avoid variable\n                expansion, you can escape this syntax with `$$`; for example: `$$(VARIABLE_NAME)`\n                This field corresponds to the `args` field of the Kubernetes Containers\n                [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n              x-kubernetes-immutable: true\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: string\n                x-dcl-go-type: string\n            command:\n              type: array\n              x-dcl-go-name: Command\n              description: 'Immutable. Specifies the command that runs when the container\n                starts. This overrides the container''s [ENTRYPOINT](https://docs.docker.com/engine/reference/builder/#entrypoint).\n                Specify this field as an array of executable and arguments, similar\n                to a Docker `ENTRYPOINT`''s \"exec\" form, not its \"shell\" form. If\n                you do not specify this field, then the container''s `ENTRYPOINT`\n                runs, in conjunction with the args field or the container''s [`CMD`](https://docs.docker.com/engine/reference/builder/#cmd),\n                if either exists. If this field is not specified and the container\n                does not have an `ENTRYPOINT`, then refer to the Docker documentation\n                about [how `CMD` and `ENTRYPOINT` interact](https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact).\n                If you specify this field, then you can also specify the `args` field\n                to provide additional arguments for this command. However, if you\n                specify this field, then the container''s `CMD` is ignored. See the\n                [Kubernetes documentation about how the `command` and `args` fields\n                interact with a container''s `ENTRYPOINT` and `CMD`](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes).\n                In this field, you can reference [environment variables set by Vertex\n                AI](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables)\n                and environment variables set in the env field. You cannot reference\n                environment variables set in the Docker image. In order for environment\n                variables to be expanded, reference them by using the following syntax:\n                `$(VARIABLE_NAME)` Note that this differs from Bash variable expansion,\n                which does not use parentheses. If a variable cannot be resolved,\n                the reference in the input string is used unchanged. To avoid variable\n                expansion, you can escape this syntax with `$$`; for example: `$$(VARIABLE_NAME)`\n                This field corresponds to the `command` field of the Kubernetes Containers\n                [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n              x-kubernetes-immutable: true\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: string\n                x-dcl-go-type: string\n            env:\n              type: array\n              x-dcl-go-name: Env\n              description: 'Immutable. List of environment variables to set in the\n                container. After the container starts running, code running in the\n                container can read these environment variables. Additionally, the\n                command and args fields can reference these variables. Later entries\n                in this list can also reference earlier entries. For example, the\n                following example sets the variable `VAR_2` to have the value `foo\n                bar`: ```json [ { \"name\": \"VAR_1\", \"value\": \"foo\" }, { \"name\": \"VAR_2\",\n                \"value\": \"$(VAR_1) bar\" } ] ``` If you switch the order of the variables\n                in the example, then the expansion does not occur. This field corresponds\n                to the `env` field of the Kubernetes Containers [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n              x-kubernetes-immutable: true\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: object\n                x-dcl-go-type: ModelContainerSpecEnv\n                required:\n                - name\n                - value\n                properties:\n                  name:\n                    type: string\n                    x-dcl-go-name: Name\n                    description: Required. Name of the environment variable. Must\n                      be a valid C identifier.\n                    x-kubernetes-immutable: true\n                  value:\n                    type: string\n                    x-dcl-go-name: Value\n                    description: 'Required. Variables that reference a $(VAR_NAME)\n                      are expanded using the previous defined environment variables\n                      in the container and any service environment variables. If a\n                      variable cannot be resolved, the reference in the input string\n                      will be unchanged. The $(VAR_NAME) syntax can be escaped with\n                      a double $$, ie: $$(VAR_NAME). Escaped references will never\n                      be expanded, regardless of whether the variable exists or not.'\n                    x-kubernetes-immutable: true\n            healthRoute:\n              type: string\n              x-dcl-go-name: HealthRoute\n              description: 'Immutable. HTTP path on the container to send health checks\n                to. Vertex AI intermittently sends GET requests to this path on the\n                container''s IP address and port to check that the container is healthy.\n                Read more about [health checks](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#health).\n                For example, if you set this field to `/bar`, then Vertex AI intermittently\n                sends a GET request to the `/bar` path on the port of your container\n                specified by the first value of this `ModelContainerSpec`''s ports\n                field. If you don''t specify this field, it defaults to the following\n                value when you deploy this Model to an Endpoint: `/v1/endpoints/ENDPOINT/deployedModels/DEPLOYED_MODEL:predict`\n                The placeholders in this value are replaced as follows: * ENDPOINT:\n                The last segment (following `endpoints/`)of the Endpoint.name][] field\n                of the Endpoint where this Model has been deployed. (Vertex AI makes\n                this value available to your container code as the [`AIP_ENDPOINT_ID`\n                environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)\n                * DEPLOYED_MODEL: DeployedModel.id of the `DeployedModel`. (Vertex\n                AI makes this value available to your container code as the [`AIP_DEPLOYED_MODEL_ID`\n                environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)'\n              x-kubernetes-immutable: true\n            imageUri:\n              type: string\n              x-dcl-go-name: ImageUri\n              description: Required. Immutable. URI of the Docker image to be used\n                as the custom container for serving predictions. This URI must identify\n                an image in Artifact Registry or Container Registry. Learn more about\n                the [container publishing requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#publishing),\n                including permissions requirements for the Vertex AI Service Agent.\n                The container image is ingested upon ModelService.UploadModel, stored\n                internally, and this original path is afterwards not used. To learn\n                about the requirements for the Docker image itself, see [Custom container\n                requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#).\n                You can use the URI to one of Vertex AI's [pre-built container images\n                for prediction](https://cloud.google.com/vertex-ai/docs/predictions/pre-built-containers)\n                in this field.\n              x-kubernetes-immutable: true\n            ports:\n              type: array\n              x-dcl-go-name: Ports\n              description: 'Immutable. List of ports to expose from the container.\n                Vertex AI sends any prediction requests that it receives to the first\n                port on this list. Vertex AI also sends [liveness and health checks](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#liveness)\n                to this port. If you do not specify this field, it defaults to following\n                value: ```json [ { \"containerPort\": 8080 } ] ``` Vertex AI does not\n                use ports other than the first one listed. This field corresponds\n                to the `ports` field of the Kubernetes Containers [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).'\n              x-kubernetes-immutable: true\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: object\n                x-dcl-go-type: ModelContainerSpecPorts\n                properties:\n                  containerPort:\n                    type: integer\n                    format: int64\n                    x-dcl-go-name: ContainerPort\n                    description: The number of the port to expose on the pod's IP\n                      address. Must be a valid port number, between 1 and 65535 inclusive.\n                    x-kubernetes-immutable: true\n            predictRoute:\n              type: string\n              x-dcl-go-name: PredictRoute\n              description: 'Immutable. HTTP path on the container to send prediction\n                requests to. Vertex AI forwards requests sent using projects.locations.endpoints.predict\n                to this path on the container''s IP address and port. Vertex AI then\n                returns the container''s response in the API response. For example,\n                if you set this field to `/foo`, then when Vertex AI receives a prediction\n                request, it forwards the request body in a POST request to the `/foo`\n                path on the port of your container specified by the first value of\n                this `ModelContainerSpec`''s ports field. If you don''t specify this\n                field, it defaults to the following value when you deploy this Model\n                to an Endpoint: `/v1/endpoints/ENDPOINT/deployedModels/DEPLOYED_MODEL:predict`\n                The placeholders in this value are replaced as follows: * ENDPOINT:\n                The last segment (following `endpoints/`)of the Endpoint.name][] field\n                of the Endpoint where this Model has been deployed. (Vertex AI makes\n                this value available to your container code as the [`AIP_ENDPOINT_ID`\n                environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)\n                * DEPLOYED_MODEL: DeployedModel.id of the `DeployedModel`. (Vertex\n                AI makes this value available to your container code as the [`AIP_DEPLOYED_MODEL_ID`\n                environment variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).)'\n              x-kubernetes-immutable: true\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. Timestamp when this Model was uploaded into Vertex\n            AI.\n          x-kubernetes-immutable: true\n        deployedModels:\n          type: array\n          x-dcl-go-name: DeployedModels\n          readOnly: true\n          description: Output only. The pointers to DeployedModels created from this\n            Model. Note that Model could have been deployed to Endpoints in different\n            Locations.\n          x-kubernetes-immutable: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: ModelDeployedModels\n            properties:\n              deployedModelId:\n                type: string\n                x-dcl-go-name: DeployedModelId\n                description: Immutable. An ID of a DeployedModel in the above Endpoint.\n                x-kubernetes-immutable: true\n              endpoint:\n                type: string\n                x-dcl-go-name: Endpoint\n                description: Immutable. A resource name of an Endpoint.\n                x-kubernetes-immutable: true\n                x-dcl-references:\n                - resource: Aiplatform/Endpoint\n                  field: selfLink\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: The description of the Model.\n        displayName:\n          type: string\n          x-dcl-go-name: DisplayName\n          description: Required. The display name of the Model. The name can be up\n            to 128 characters long and can be consist of any UTF-8 characters.\n        encryptionSpec:\n          type: object\n          x-dcl-go-name: EncryptionSpec\n          x-dcl-go-type: ModelEncryptionSpec\n          description: Customer-managed encryption key spec for a Model. If set, this\n            Model and all sub-resources of this Model will be secured by this key.\n          x-kubernetes-immutable: true\n          required:\n          - kmsKeyName\n          properties:\n            kmsKeyName:\n              type: string\n              x-dcl-go-name: KmsKeyName\n              description: 'Required. The Cloud KMS resource identifier of the customer\n                managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.\n                The key needs to be in the same region as where the compute resource\n                is created.'\n              x-kubernetes-immutable: true\n              x-dcl-references:\n              - resource: Cloudkms/CryptoKey\n                field: name\n        etag:\n          type: string\n          x-dcl-go-name: Etag\n          readOnly: true\n          description: Used to perform consistent read-modify-write updates. If not\n            set, a blind \"overwrite\" update happens.\n          x-kubernetes-immutable: true\n        labels:\n          type: object\n          additionalProperties:\n            type: string\n          x-dcl-go-name: Labels\n          description: The labels with user-defined metadata to organize your Models.\n            Label keys and values can be no longer than 64 characters (Unicode codepoints),\n            can only contain lowercase letters, numeric characters, underscores and\n            dashes. International characters are allowed. See https://goo.gl/xmQnxf\n            for more information and examples of labels.\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location for the resource\n          x-kubernetes-immutable: true\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: The resource name of the Model.\n          x-kubernetes-immutable: true\n          x-dcl-server-generated-parameter: true\n        originalModelInfo:\n          type: object\n          x-dcl-go-name: OriginalModelInfo\n          x-dcl-go-type: ModelOriginalModelInfo\n          readOnly: true\n          description: Output only. If this Model is a copy of another Model, this\n            contains info about the original.\n          x-kubernetes-immutable: true\n          properties:\n            model:\n              type: string\n              x-dcl-go-name: Model\n              readOnly: true\n              description: 'Output only. The resource name of the Model this Model\n                is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}`'\n              x-kubernetes-immutable: true\n              x-dcl-references:\n              - resource: Aiplatform/Model\n                field: selfLink\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n        supportedDeploymentResourcesTypes:\n          type: array\n          x-dcl-go-name: SupportedDeploymentResourcesTypes\n          readOnly: true\n          description: Output only. When this Model is deployed, its prediction resources\n            are described by the `prediction_resources` field of the Endpoint.deployed_models\n            object. Because not all Models support all resource configuration types,\n            the configuration types this Model supports are listed here. If no configuration\n            types are listed, the Model cannot be deployed to an Endpoint and does\n            not support online predictions (PredictionService.Predict or PredictionService.Explain).\n            Such a Model can serve predictions by using a BatchPredictionJob, if it\n            has at least one entry each in supported_input_storage_formats and supported_output_storage_formats.\n          x-kubernetes-immutable: true\n          x-dcl-list-type: list\n          items:\n            type: string\n            x-dcl-go-type: ModelSupportedDeploymentResourcesTypesEnum\n            enum:\n            - DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED\n            - DEDICATED_RESOURCES\n            - AUTOMATIC_RESOURCES\n        supportedExportFormats:\n          type: array\n          x-dcl-go-name: SupportedExportFormats\n          readOnly: true\n          description: Output only. The formats in which this Model may be exported.\n            If empty, this Model is not available for export.\n          x-kubernetes-immutable: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: ModelSupportedExportFormats\n            properties:\n              exportableContents:\n                type: array\n                x-dcl-go-name: ExportableContents\n                readOnly: true\n                description: Output only. The content of this Model that may be exported.\n                x-kubernetes-immutable: true\n                x-dcl-list-type: list\n                items:\n                  type: string\n                  x-dcl-go-type: ModelSupportedExportFormatsExportableContentsEnum\n                  enum:\n                  - EXPORTABLE_CONTENT_UNSPECIFIED\n                  - ARTIFACT\n                  - IMAGE\n              id:\n                type: string\n                x-dcl-go-name: Id\n                readOnly: true\n                description: 'Output only. The ID of the export format. The possible\n                  format IDs are: * `tflite` Used for Android mobile devices. * `edgetpu-tflite`\n                  Used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices.\n                  * `tf-saved-model` A tensorflow model in SavedModel format. * `tf-js`\n                  A [TensorFlow.js](https://www.tensorflow.org/js) model that can\n                  be used in the browser and in Node.js using JavaScript. * `core-ml`\n                  Used for iOS mobile devices. * `custom-trained` A Model that was\n                  uploaded or trained by custom code.'\n                x-kubernetes-immutable: true\n        supportedInputStorageFormats:\n          type: array\n          x-dcl-go-name: SupportedInputStorageFormats\n          readOnly: true\n          description: 'Output only. The formats this Model supports in BatchPredictionJob.input_config.\n            If PredictSchemata.instance_schema_uri exists, the instances should be\n            given as per that schema. The possible formats are: * `jsonl` The JSON\n            Lines format, where each instance is a single line. Uses GcsSource. *\n            `csv` The CSV format, where each instance is a single comma-separated\n            line. The first line in the file is the header, containing comma-separated\n            field names. Uses GcsSource. * `tf-record` The TFRecord format, where\n            each instance is a single record in tfrecord syntax. Uses GcsSource. *\n            `tf-record-gzip` Similar to `tf-record`, but the file is gzipped. Uses\n            GcsSource. * `bigquery` Each instance is a single row in BigQuery. Uses\n            BigQuerySource. * `file-list` Each line of the file is the location of\n            an instance to process, uses `gcs_source` field of the InputConfig object.\n            If this Model doesn''t support any of these formats it means it cannot\n            be used with a BatchPredictionJob. However, if it has supported_deployment_resources_types,\n            it could serve online predictions by using PredictionService.Predict or\n            PredictionService.Explain. TODO(rsurowka): Give a link describing how\n            OpenAPI schema instances are expressed in JSONL and BigQuery. TODO(rsurowka):\n            Should we provide a schema for TFRecord? Or maybe say that at least for\n            now TFRecord input is not supported via schemata (that would also simplify\n            giving them back as part of predictions). TODO(rsurowka): Define CSV format\n            (decide how much we want to support). E.g. no nesting? Or no arrays, or\n            no nested arrays? E.g. https://json-csv.com/ seems to be able to do pretty\n            advanced conversions, but we may decide to make it relatively simple for\n            now.'\n          x-kubernetes-immutable: true\n          x-dcl-list-type: list\n          items:\n            type: string\n            x-dcl-go-type: string\n        supportedOutputStorageFormats:\n          type: array\n          x-dcl-go-name: SupportedOutputStorageFormats\n          readOnly: true\n          description: 'Output only. The formats this Model supports in BatchPredictionJob.output_config.\n            If both PredictSchemata.instance_schema_uri and PredictSchemata.prediction_schema_uri\n            exist, the predictions are returned together with their instances. In\n            other words, the prediction has the original instance data first, followed\n            by the actual prediction content (as per the schema). The possible formats\n            are: * `jsonl` The JSON Lines format, where each prediction is a single\n            line. Uses GcsDestination. * `csv` The CSV format, where each prediction\n            is a single comma-separated line. The first line in the file is the header,\n            containing comma-separated field names. Uses GcsDestination. * `bigquery`\n            Each prediction is a single row in a BigQuery table, uses BigQueryDestination\n            . If this Model doesn''t support any of these formats it means it cannot\n            be used with a BatchPredictionJob. However, if it has supported_deployment_resources_types,\n            it could serve online predictions by using PredictionService.Predict or\n            PredictionService.Explain. TODO(rsurowka): Analogous TODOs as for instances\n            field above.'\n          x-kubernetes-immutable: true\n          x-dcl-list-type: list\n          items:\n            type: string\n            x-dcl-go-type: string\n        trainingPipeline:\n          type: string\n          x-dcl-go-name: TrainingPipeline\n          readOnly: true\n          description: Output only. The resource name of the TrainingPipeline that\n            uploaded this Model, if any.\n          x-kubernetes-immutable: true\n        updateTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: UpdateTime\n          readOnly: true\n          description: Output only. Timestamp when this Model was most recently updated.\n          x-kubernetes-immutable: true\n        versionCreateTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: VersionCreateTime\n          readOnly: true\n          description: Output only. Timestamp when this version was created.\n          x-kubernetes-immutable: true\n        versionDescription:\n          type: string\n          x-dcl-go-name: VersionDescription\n          description: The description of this version.\n          x-kubernetes-immutable: true\n        versionId:\n          type: string\n          x-dcl-go-name: VersionId\n          readOnly: true\n          description: Output only. Immutable. The version ID of the model. A new\n            version is committed when a new model version is uploaded or trained under\n            an existing model id. It is an auto-incrementing decimal number in string\n            representation.\n          x-kubernetes-immutable: true\n        versionUpdateTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: VersionUpdateTime\n          readOnly: true\n          description: Output only. Timestamp when this version was most recently\n            updated.\n          x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vertexai/model.yaml

View Source
var YAML_model_deployment = []byte("info:\n  title: VertexAI/ModelDeployment\n  description: The VertexAI ModelDeployment resource\n  x-dcl-struct-name: ModelDeployment\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a ModelDeployment\n    parameters:\n    - name: ModelDeployment\n      required: true\n      description: A full instance of a ModelDeployment\n  apply:\n    description: The function used to apply information about a ModelDeployment\n    parameters:\n    - name: ModelDeployment\n      required: true\n      description: A full instance of a ModelDeployment\n  delete:\n    description: The function used to delete a ModelDeployment\n    parameters:\n    - name: ModelDeployment\n      required: true\n      description: A full instance of a ModelDeployment\n  deleteAll:\n    description: The function used to delete all ModelDeployment\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n    - name: endpoint\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many ModelDeployment\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n    - name: endpoint\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    ModelDeployment:\n      title: ModelDeployment\n      x-dcl-id: models/{{model}}\n      x-dcl-parent-container: project\n      x-dcl-has-create: true\n      x-dcl-has-iam: false\n      type: object\n      required:\n      - model\n      - dedicatedResources\n      - endpoint\n      properties:\n        dedicatedResources:\n          type: object\n          x-dcl-go-name: DedicatedResources\n          x-dcl-go-type: ModelDeploymentDedicatedResources\n          description: A description of resources that are dedicated to the DeployedModel,\n            and that need a higher degree of manual configuration.\n          x-kubernetes-immutable: true\n          required:\n          - machineSpec\n          - minReplicaCount\n          properties:\n            machineSpec:\n              type: object\n              x-dcl-go-name: MachineSpec\n              x-dcl-go-type: ModelDeploymentDedicatedResourcesMachineSpec\n              description: Required. Immutable. The specification of a single machine\n                used by the prediction.\n              x-kubernetes-immutable: true\n              required:\n              - machineType\n              properties:\n                machineType:\n                  type: string\n                  x-dcl-go-name: MachineType\n                  description: 'Immutable. The type of the machine. See the [list\n                    of machine types supported for prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types)\n                    See the [list of machine types supported for custom training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types).\n                    For DeployedModel this field is optional, and the default value\n                    is `n1-standard-2`. For BatchPredictionJob or as part of WorkerPoolSpec\n                    this field is required. TODO(rsurowka): Try to better unify the\n                    required vs optional.'\n                  x-kubernetes-immutable: true\n            maxReplicaCount:\n              type: integer\n              format: int64\n              x-dcl-go-name: MaxReplicaCount\n              description: Immutable. The maximum number of replicas this DeployedModel\n                may be deployed on when the traffic against it increases. If the requested\n                value is too large, the deployment will error, but if deployment succeeds\n                then the ability to scale the model to that many replicas is guaranteed\n                (barring service outages). If traffic against the DeployedModel increases\n                beyond what its replicas at maximum may handle, a portion of the traffic\n                will be dropped. If this value is not provided, will use min_replica_count\n                as the default value. The value of this field impacts the charge against\n                Vertex CPU and GPU quotas. Specifically, you will be charged for max_replica_count\n                * number of cores in the selected machine type) and (max_replica_count\n                * number of GPUs per replica in the selected machine type).\n              x-kubernetes-immutable: true\n            minReplicaCount:\n              type: integer\n              format: int64\n              x-dcl-go-name: MinReplicaCount\n              description: Required. Immutable. The minimum number of machine replicas\n                this DeployedModel will be always deployed on. This value must be\n                greater than or equal to 1. If traffic against the DeployedModel increases,\n                it may dynamically be deployed onto more replicas, and as traffic\n                decreases, some of these extra replicas may be freed.\n              x-kubernetes-immutable: true\n        endpoint:\n          type: string\n          x-dcl-go-name: Endpoint\n          description: The name of the endpoint to deploy to\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Vertexai/Endpoint\n            field: name\n            parent: true\n        id:\n          type: string\n          x-dcl-go-name: Id\n          readOnly: true\n          description: The deployed ID of the model in the endpoint\n          x-kubernetes-immutable: true\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location of the endpoint\n          x-kubernetes-immutable: true\n          x-dcl-extract-if-empty: true\n        model:\n          type: string\n          x-dcl-go-name: Model\n          description: The name of the model to deploy\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Vertexai/Model\n            field: name\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project of the endpoint\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n          x-dcl-extract-if-empty: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/vertexai/model_deployment.yaml

Functions

func DCLEndpointSchema added in v1.10.3

func DCLEndpointSchema() *dcl.Schema

func DCLEndpointTrafficSplitSchema added in v1.10.3

func DCLEndpointTrafficSplitSchema() *dcl.Schema

func DCLMetadataSchemaSchema added in v1.10.3

func DCLMetadataSchemaSchema() *dcl.Schema

func DCLMetadataStoreSchema added in v1.10.3

func DCLMetadataStoreSchema() *dcl.Schema

func DCLModelDeploymentSchema added in v1.10.3

func DCLModelDeploymentSchema() *dcl.Schema

func DCLModelSchema added in v1.10.3

func DCLModelSchema() *dcl.Schema

Types

type Client

type Client struct {
	Config *dcl.Config
}

The Client is the base struct of all operations. This will receive the Get, Delete, List, and Apply operations on all resources.

func NewClient

func NewClient(c *dcl.Config) *Client

NewClient creates a client that retries all operations a few times each.

func (*Client) ApplyEndpoint

func (c *Client) ApplyEndpoint(ctx context.Context, rawDesired *Endpoint, opts ...dcl.ApplyOption) (*Endpoint, error)

func (*Client) ApplyEndpointTrafficSplit

func (c *Client) ApplyEndpointTrafficSplit(ctx context.Context, rawDesired *EndpointTrafficSplit, opts ...dcl.ApplyOption) (*EndpointTrafficSplit, error)

func (*Client) ApplyMetadataSchema

func (c *Client) ApplyMetadataSchema(ctx context.Context, rawDesired *MetadataSchema, opts ...dcl.ApplyOption) (*MetadataSchema, error)

func (*Client) ApplyMetadataStore

func (c *Client) ApplyMetadataStore(ctx context.Context, rawDesired *MetadataStore, opts ...dcl.ApplyOption) (*MetadataStore, error)

func (*Client) ApplyModel

func (c *Client) ApplyModel(ctx context.Context, rawDesired *Model, opts ...dcl.ApplyOption) (*Model, error)

func (*Client) ApplyModelDeployment

func (c *Client) ApplyModelDeployment(ctx context.Context, rawDesired *ModelDeployment, opts ...dcl.ApplyOption) (*ModelDeployment, error)

func (*Client) DeleteAllEndpoint

func (c *Client) DeleteAllEndpoint(ctx context.Context, project, location string, filter func(*Endpoint) bool) error

DeleteAllEndpoint deletes all resources that the filter functions returns true on.

func (*Client) DeleteAllMetadataStore

func (c *Client) DeleteAllMetadataStore(ctx context.Context, project, location string, filter func(*MetadataStore) bool) error

DeleteAllMetadataStore deletes all resources that the filter functions returns true on.

func (*Client) DeleteAllModel

func (c *Client) DeleteAllModel(ctx context.Context, project, location string, filter func(*Model) bool) error

DeleteAllModel deletes all resources that the filter functions returns true on.

func (*Client) DeleteAllModelDeployment

func (c *Client) DeleteAllModelDeployment(ctx context.Context, project, location, endpoint string, filter func(*ModelDeployment) bool) error

DeleteAllModelDeployment deletes all resources that the filter functions returns true on.

func (*Client) DeleteEndpoint

func (c *Client) DeleteEndpoint(ctx context.Context, r *Endpoint) error

func (*Client) DeleteMetadataStore

func (c *Client) DeleteMetadataStore(ctx context.Context, r *MetadataStore) error

func (*Client) DeleteModel

func (c *Client) DeleteModel(ctx context.Context, r *Model) error

func (*Client) DeleteModelDeployment

func (c *Client) DeleteModelDeployment(ctx context.Context, r *ModelDeployment) error

func (*Client) GetEndpoint

func (c *Client) GetEndpoint(ctx context.Context, r *Endpoint) (*Endpoint, error)

func (*Client) GetEndpointTrafficSplit

func (c *Client) GetEndpointTrafficSplit(ctx context.Context, r *EndpointTrafficSplit) (*EndpointTrafficSplit, error)

func (*Client) GetMetadataSchema

func (c *Client) GetMetadataSchema(ctx context.Context, r *MetadataSchema) (*MetadataSchema, error)

func (*Client) GetMetadataStore

func (c *Client) GetMetadataStore(ctx context.Context, r *MetadataStore) (*MetadataStore, error)

func (*Client) GetModel

func (c *Client) GetModel(ctx context.Context, r *Model) (*Model, error)

func (*Client) GetModelDeployment

func (c *Client) GetModelDeployment(ctx context.Context, r *ModelDeployment) (*ModelDeployment, error)

func (*Client) ListEndpoint

func (c *Client) ListEndpoint(ctx context.Context, project, location string) (*EndpointList, error)

func (*Client) ListEndpointWithMaxResults

func (c *Client) ListEndpointWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*EndpointList, error)

func (*Client) ListMetadataSchema

func (c *Client) ListMetadataSchema(ctx context.Context, project, location, metadataStore string) (*MetadataSchemaList, error)

func (*Client) ListMetadataSchemaWithMaxResults

func (c *Client) ListMetadataSchemaWithMaxResults(ctx context.Context, project, location, metadataStore string, pageSize int32) (*MetadataSchemaList, error)

func (*Client) ListMetadataStore

func (c *Client) ListMetadataStore(ctx context.Context, project, location string) (*MetadataStoreList, error)

func (*Client) ListMetadataStoreWithMaxResults

func (c *Client) ListMetadataStoreWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*MetadataStoreList, error)

func (*Client) ListModel

func (c *Client) ListModel(ctx context.Context, project, location string) (*ModelList, error)

func (*Client) ListModelDeployment

func (c *Client) ListModelDeployment(ctx context.Context, project, location, endpoint string) (*ModelDeploymentList, error)

func (*Client) ListModelDeploymentWithMaxResults

func (c *Client) ListModelDeploymentWithMaxResults(ctx context.Context, project, location, endpoint string, pageSize int32) (*ModelDeploymentList, error)

func (*Client) ListModelWithMaxResults

func (c *Client) ListModelWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*ModelList, error)

type Endpoint

type Endpoint struct {
	Name                         *string                  `json:"name"`
	DisplayName                  *string                  `json:"displayName"`
	Description                  *string                  `json:"description"`
	DeployedModels               []EndpointDeployedModels `json:"deployedModels"`
	Etag                         *string                  `json:"etag"`
	Labels                       map[string]string        `json:"labels"`
	CreateTime                   *string                  `json:"createTime"`
	UpdateTime                   *string                  `json:"updateTime"`
	EncryptionSpec               *EndpointEncryptionSpec  `json:"encryptionSpec"`
	Network                      *string                  `json:"network"`
	ModelDeploymentMonitoringJob *string                  `json:"modelDeploymentMonitoringJob"`
	Project                      *string                  `json:"project"`
	Location                     *string                  `json:"location"`
}

func (*Endpoint) Describe

func (r *Endpoint) Describe() dcl.ServiceTypeVersion

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*Endpoint) ID

func (r *Endpoint) ID() (string, error)

func (*Endpoint) String

func (r *Endpoint) String() string

type EndpointDeployedModels

type EndpointDeployedModels struct {
	DedicatedResources      *EndpointDeployedModelsDedicatedResources `json:"dedicatedResources"`
	AutomaticResources      *EndpointDeployedModelsAutomaticResources `json:"automaticResources"`
	Id                      *string                                   `json:"id"`
	Model                   *string                                   `json:"model"`
	ModelVersionId          *string                                   `json:"modelVersionId"`
	DisplayName             *string                                   `json:"displayName"`
	CreateTime              *string                                   `json:"createTime"`
	ServiceAccount          *string                                   `json:"serviceAccount"`
	DisableContainerLogging *bool                                     `json:"disableContainerLogging"`
	EnableAccessLogging     *bool                                     `json:"enableAccessLogging"`
	PrivateEndpoints        *EndpointDeployedModelsPrivateEndpoints   `json:"privateEndpoints"`
	// contains filtered or unexported fields
}
var EmptyEndpointDeployedModels *EndpointDeployedModels = &EndpointDeployedModels{empty: true}

This object is used to assert a desired state where this EndpointDeployedModels is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*EndpointDeployedModels) Empty

func (r *EndpointDeployedModels) Empty() bool

func (*EndpointDeployedModels) HashCode

func (r *EndpointDeployedModels) HashCode() string

func (*EndpointDeployedModels) String

func (r *EndpointDeployedModels) String() string

func (*EndpointDeployedModels) UnmarshalJSON

func (r *EndpointDeployedModels) UnmarshalJSON(data []byte) error

type EndpointDeployedModelsAutomaticResources

type EndpointDeployedModelsAutomaticResources struct {
	MinReplicaCount *int64 `json:"minReplicaCount"`
	MaxReplicaCount *int64 `json:"maxReplicaCount"`
	// contains filtered or unexported fields
}
var EmptyEndpointDeployedModelsAutomaticResources *EndpointDeployedModelsAutomaticResources = &EndpointDeployedModelsAutomaticResources{empty: true}

This object is used to assert a desired state where this EndpointDeployedModelsAutomaticResources is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*EndpointDeployedModelsAutomaticResources) Empty

func (*EndpointDeployedModelsAutomaticResources) HashCode

func (*EndpointDeployedModelsAutomaticResources) String

func (*EndpointDeployedModelsAutomaticResources) UnmarshalJSON

func (r *EndpointDeployedModelsAutomaticResources) UnmarshalJSON(data []byte) error

type EndpointDeployedModelsDedicatedResources

type EndpointDeployedModelsDedicatedResources struct {
	MachineSpec            *EndpointDeployedModelsDedicatedResourcesMachineSpec             `json:"machineSpec"`
	MinReplicaCount        *int64                                                           `json:"minReplicaCount"`
	MaxReplicaCount        *int64                                                           `json:"maxReplicaCount"`
	AutoscalingMetricSpecs []EndpointDeployedModelsDedicatedResourcesAutoscalingMetricSpecs `json:"autoscalingMetricSpecs"`
	// contains filtered or unexported fields
}
var EmptyEndpointDeployedModelsDedicatedResources *EndpointDeployedModelsDedicatedResources = &EndpointDeployedModelsDedicatedResources{empty: true}

This object is used to assert a desired state where this EndpointDeployedModelsDedicatedResources is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*EndpointDeployedModelsDedicatedResources) Empty

func (*EndpointDeployedModelsDedicatedResources) HashCode

func (*EndpointDeployedModelsDedicatedResources) String

func (*EndpointDeployedModelsDedicatedResources) UnmarshalJSON

func (r *EndpointDeployedModelsDedicatedResources) UnmarshalJSON(data []byte) error

type EndpointDeployedModelsDedicatedResourcesAutoscalingMetricSpecs

type EndpointDeployedModelsDedicatedResourcesAutoscalingMetricSpecs struct {
	MetricName *string `json:"metricName"`
	Target     *int64  `json:"target"`
	// contains filtered or unexported fields
}
var EmptyEndpointDeployedModelsDedicatedResourcesAutoscalingMetricSpecs *EndpointDeployedModelsDedicatedResourcesAutoscalingMetricSpecs = &EndpointDeployedModelsDedicatedResourcesAutoscalingMetricSpecs{empty: true}

This object is used to assert a desired state where this EndpointDeployedModelsDedicatedResourcesAutoscalingMetricSpecs is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*EndpointDeployedModelsDedicatedResourcesAutoscalingMetricSpecs) Empty

func (*EndpointDeployedModelsDedicatedResourcesAutoscalingMetricSpecs) HashCode

func (*EndpointDeployedModelsDedicatedResourcesAutoscalingMetricSpecs) String

func (*EndpointDeployedModelsDedicatedResourcesAutoscalingMetricSpecs) UnmarshalJSON

type EndpointDeployedModelsDedicatedResourcesMachineSpec

type EndpointDeployedModelsDedicatedResourcesMachineSpec struct {
	MachineType      *string                                                                 `json:"machineType"`
	AcceleratorType  *EndpointDeployedModelsDedicatedResourcesMachineSpecAcceleratorTypeEnum `json:"acceleratorType"`
	AcceleratorCount *int64                                                                  `json:"acceleratorCount"`
	// contains filtered or unexported fields
}
var EmptyEndpointDeployedModelsDedicatedResourcesMachineSpec *EndpointDeployedModelsDedicatedResourcesMachineSpec = &EndpointDeployedModelsDedicatedResourcesMachineSpec{empty: true}

This object is used to assert a desired state where this EndpointDeployedModelsDedicatedResourcesMachineSpec is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*EndpointDeployedModelsDedicatedResourcesMachineSpec) Empty

func (*EndpointDeployedModelsDedicatedResourcesMachineSpec) HashCode

func (*EndpointDeployedModelsDedicatedResourcesMachineSpec) String

func (*EndpointDeployedModelsDedicatedResourcesMachineSpec) UnmarshalJSON

type EndpointDeployedModelsDedicatedResourcesMachineSpecAcceleratorTypeEnum

type EndpointDeployedModelsDedicatedResourcesMachineSpecAcceleratorTypeEnum string

The enum EndpointDeployedModelsDedicatedResourcesMachineSpecAcceleratorTypeEnum.

func EndpointDeployedModelsDedicatedResourcesMachineSpecAcceleratorTypeEnumRef

func EndpointDeployedModelsDedicatedResourcesMachineSpecAcceleratorTypeEnumRef(s string) *EndpointDeployedModelsDedicatedResourcesMachineSpecAcceleratorTypeEnum

EndpointDeployedModelsDedicatedResourcesMachineSpecAcceleratorTypeEnumRef returns a *EndpointDeployedModelsDedicatedResourcesMachineSpecAcceleratorTypeEnum with the value of string s If the empty string is provided, nil is returned.

func (EndpointDeployedModelsDedicatedResourcesMachineSpecAcceleratorTypeEnum) Validate

type EndpointDeployedModelsPrivateEndpoints

type EndpointDeployedModelsPrivateEndpoints struct {
	PredictHttpUri    *string `json:"predictHttpUri"`
	ExplainHttpUri    *string `json:"explainHttpUri"`
	HealthHttpUri     *string `json:"healthHttpUri"`
	ServiceAttachment *string `json:"serviceAttachment"`
	// contains filtered or unexported fields
}
var EmptyEndpointDeployedModelsPrivateEndpoints *EndpointDeployedModelsPrivateEndpoints = &EndpointDeployedModelsPrivateEndpoints{empty: true}

This object is used to assert a desired state where this EndpointDeployedModelsPrivateEndpoints is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*EndpointDeployedModelsPrivateEndpoints) Empty

func (*EndpointDeployedModelsPrivateEndpoints) HashCode

func (*EndpointDeployedModelsPrivateEndpoints) String

func (*EndpointDeployedModelsPrivateEndpoints) UnmarshalJSON

func (r *EndpointDeployedModelsPrivateEndpoints) UnmarshalJSON(data []byte) error

type EndpointEncryptionSpec

type EndpointEncryptionSpec struct {
	KmsKeyName *string `json:"kmsKeyName"`
	// contains filtered or unexported fields
}
var EmptyEndpointEncryptionSpec *EndpointEncryptionSpec = &EndpointEncryptionSpec{empty: true}

This object is used to assert a desired state where this EndpointEncryptionSpec is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*EndpointEncryptionSpec) Empty

func (r *EndpointEncryptionSpec) Empty() bool

func (*EndpointEncryptionSpec) HashCode

func (r *EndpointEncryptionSpec) HashCode() string

func (*EndpointEncryptionSpec) String

func (r *EndpointEncryptionSpec) String() string

func (*EndpointEncryptionSpec) UnmarshalJSON

func (r *EndpointEncryptionSpec) UnmarshalJSON(data []byte) error

type EndpointList

type EndpointList struct {
	Items []*Endpoint
	// contains filtered or unexported fields
}

func (*EndpointList) HasNext

func (l *EndpointList) HasNext() bool

func (*EndpointList) Next

func (l *EndpointList) Next(ctx context.Context, c *Client) error

type EndpointTrafficSplit

type EndpointTrafficSplit struct {
	Endpoint     *string                            `json:"endpoint"`
	Project      *string                            `json:"project"`
	Location     *string                            `json:"location"`
	Etag         *string                            `json:"etag"`
	TrafficSplit []EndpointTrafficSplitTrafficSplit `json:"trafficSplit"`
}

func (*EndpointTrafficSplit) Describe

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*EndpointTrafficSplit) ID

func (r *EndpointTrafficSplit) ID() (string, error)

func (*EndpointTrafficSplit) String

func (r *EndpointTrafficSplit) String() string

type EndpointTrafficSplitList

type EndpointTrafficSplitList struct {
	Items []*EndpointTrafficSplit
	// contains filtered or unexported fields
}

type EndpointTrafficSplitTrafficSplit

type EndpointTrafficSplitTrafficSplit struct {
	DeployedModelId   *string `json:"deployedModelId"`
	TrafficPercentage *int64  `json:"trafficPercentage"`
	// contains filtered or unexported fields
}
var EmptyEndpointTrafficSplitTrafficSplit *EndpointTrafficSplitTrafficSplit = &EndpointTrafficSplitTrafficSplit{empty: true}

This object is used to assert a desired state where this EndpointTrafficSplitTrafficSplit is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*EndpointTrafficSplitTrafficSplit) Empty

func (*EndpointTrafficSplitTrafficSplit) HashCode

func (*EndpointTrafficSplitTrafficSplit) String

func (*EndpointTrafficSplitTrafficSplit) UnmarshalJSON

func (r *EndpointTrafficSplitTrafficSplit) UnmarshalJSON(data []byte) error

type MetadataSchema

type MetadataSchema struct {
	Name          *string                       `json:"name"`
	SchemaVersion *string                       `json:"schemaVersion"`
	Schema        *string                       `json:"schema"`
	SchemaType    *MetadataSchemaSchemaTypeEnum `json:"schemaType"`
	CreateTime    *string                       `json:"createTime"`
	Project       *string                       `json:"project"`
	Location      *string                       `json:"location"`
	MetadataStore *string                       `json:"metadataStore"`
}

func (*MetadataSchema) Describe

func (r *MetadataSchema) Describe() dcl.ServiceTypeVersion

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*MetadataSchema) ID

func (r *MetadataSchema) ID() (string, error)

func (*MetadataSchema) String

func (r *MetadataSchema) String() string

type MetadataSchemaList

type MetadataSchemaList struct {
	Items []*MetadataSchema
	// contains filtered or unexported fields
}

func (*MetadataSchemaList) HasNext

func (l *MetadataSchemaList) HasNext() bool

func (*MetadataSchemaList) Next

func (l *MetadataSchemaList) Next(ctx context.Context, c *Client) error

type MetadataSchemaSchemaTypeEnum

type MetadataSchemaSchemaTypeEnum string

The enum MetadataSchemaSchemaTypeEnum.

func MetadataSchemaSchemaTypeEnumRef

func MetadataSchemaSchemaTypeEnumRef(s string) *MetadataSchemaSchemaTypeEnum

MetadataSchemaSchemaTypeEnumRef returns a *MetadataSchemaSchemaTypeEnum with the value of string s If the empty string is provided, nil is returned.

func (MetadataSchemaSchemaTypeEnum) Validate

func (v MetadataSchemaSchemaTypeEnum) Validate() error

type MetadataStore

type MetadataStore struct {
	Name           *string                      `json:"name"`
	CreateTime     *string                      `json:"createTime"`
	UpdateTime     *string                      `json:"updateTime"`
	EncryptionSpec *MetadataStoreEncryptionSpec `json:"encryptionSpec"`
	Description    *string                      `json:"description"`
	State          *MetadataStoreState          `json:"state"`
	Project        *string                      `json:"project"`
	Location       *string                      `json:"location"`
}

func (*MetadataStore) Describe

func (r *MetadataStore) Describe() dcl.ServiceTypeVersion

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*MetadataStore) ID

func (r *MetadataStore) ID() (string, error)

func (*MetadataStore) String

func (r *MetadataStore) String() string

type MetadataStoreEncryptionSpec

type MetadataStoreEncryptionSpec struct {
	KmsKeyName *string `json:"kmsKeyName"`
	// contains filtered or unexported fields
}
var EmptyMetadataStoreEncryptionSpec *MetadataStoreEncryptionSpec = &MetadataStoreEncryptionSpec{empty: true}

This object is used to assert a desired state where this MetadataStoreEncryptionSpec is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*MetadataStoreEncryptionSpec) Empty

func (r *MetadataStoreEncryptionSpec) Empty() bool

func (*MetadataStoreEncryptionSpec) HashCode

func (r *MetadataStoreEncryptionSpec) HashCode() string

func (*MetadataStoreEncryptionSpec) String

func (r *MetadataStoreEncryptionSpec) String() string

func (*MetadataStoreEncryptionSpec) UnmarshalJSON

func (r *MetadataStoreEncryptionSpec) UnmarshalJSON(data []byte) error

type MetadataStoreList

type MetadataStoreList struct {
	Items []*MetadataStore
	// contains filtered or unexported fields
}

func (*MetadataStoreList) HasNext

func (l *MetadataStoreList) HasNext() bool

func (*MetadataStoreList) Next

func (l *MetadataStoreList) Next(ctx context.Context, c *Client) error

type MetadataStoreState

type MetadataStoreState struct {
	DiskUtilizationBytes *int64 `json:"diskUtilizationBytes"`
	// contains filtered or unexported fields
}
var EmptyMetadataStoreState *MetadataStoreState = &MetadataStoreState{empty: true}

This object is used to assert a desired state where this MetadataStoreState is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*MetadataStoreState) Empty

func (r *MetadataStoreState) Empty() bool

func (*MetadataStoreState) HashCode

func (r *MetadataStoreState) HashCode() string

func (*MetadataStoreState) String

func (r *MetadataStoreState) String() string

func (*MetadataStoreState) UnmarshalJSON

func (r *MetadataStoreState) UnmarshalJSON(data []byte) error

type Model

type Model struct {
	Name                              *string                                      `json:"name"`
	VersionId                         *string                                      `json:"versionId"`
	VersionCreateTime                 *string                                      `json:"versionCreateTime"`
	VersionUpdateTime                 *string                                      `json:"versionUpdateTime"`
	DisplayName                       *string                                      `json:"displayName"`
	Description                       *string                                      `json:"description"`
	VersionDescription                *string                                      `json:"versionDescription"`
	SupportedExportFormats            []ModelSupportedExportFormats                `json:"supportedExportFormats"`
	TrainingPipeline                  *string                                      `json:"trainingPipeline"`
	OriginalModelInfo                 *ModelOriginalModelInfo                      `json:"originalModelInfo"`
	ContainerSpec                     *ModelContainerSpec                          `json:"containerSpec"`
	ArtifactUri                       *string                                      `json:"artifactUri"`
	SupportedDeploymentResourcesTypes []ModelSupportedDeploymentResourcesTypesEnum `json:"supportedDeploymentResourcesTypes"`
	SupportedInputStorageFormats      []string                                     `json:"supportedInputStorageFormats"`
	SupportedOutputStorageFormats     []string                                     `json:"supportedOutputStorageFormats"`
	CreateTime                        *string                                      `json:"createTime"`
	UpdateTime                        *string                                      `json:"updateTime"`
	DeployedModels                    []ModelDeployedModels                        `json:"deployedModels"`
	Etag                              *string                                      `json:"etag"`
	Labels                            map[string]string                            `json:"labels"`
	EncryptionSpec                    *ModelEncryptionSpec                         `json:"encryptionSpec"`
	Project                           *string                                      `json:"project"`
	Location                          *string                                      `json:"location"`
}

func (*Model) Describe

func (r *Model) Describe() dcl.ServiceTypeVersion

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*Model) ID

func (r *Model) ID() (string, error)

func (*Model) String

func (r *Model) String() string

type ModelContainerSpec

type ModelContainerSpec struct {
	ImageUri     *string                   `json:"imageUri"`
	Command      []string                  `json:"command"`
	Args         []string                  `json:"args"`
	Env          []ModelContainerSpecEnv   `json:"env"`
	Ports        []ModelContainerSpecPorts `json:"ports"`
	PredictRoute *string                   `json:"predictRoute"`
	HealthRoute  *string                   `json:"healthRoute"`
	// contains filtered or unexported fields
}
var EmptyModelContainerSpec *ModelContainerSpec = &ModelContainerSpec{empty: true}

This object is used to assert a desired state where this ModelContainerSpec is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*ModelContainerSpec) Empty

func (r *ModelContainerSpec) Empty() bool

func (*ModelContainerSpec) HashCode

func (r *ModelContainerSpec) HashCode() string

func (*ModelContainerSpec) String

func (r *ModelContainerSpec) String() string

func (*ModelContainerSpec) UnmarshalJSON

func (r *ModelContainerSpec) UnmarshalJSON(data []byte) error

type ModelContainerSpecEnv

type ModelContainerSpecEnv struct {
	Name  *string `json:"name"`
	Value *string `json:"value"`
	// contains filtered or unexported fields
}
var EmptyModelContainerSpecEnv *ModelContainerSpecEnv = &ModelContainerSpecEnv{empty: true}

This object is used to assert a desired state where this ModelContainerSpecEnv is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*ModelContainerSpecEnv) Empty

func (r *ModelContainerSpecEnv) Empty() bool

func (*ModelContainerSpecEnv) HashCode

func (r *ModelContainerSpecEnv) HashCode() string

func (*ModelContainerSpecEnv) String

func (r *ModelContainerSpecEnv) String() string

func (*ModelContainerSpecEnv) UnmarshalJSON

func (r *ModelContainerSpecEnv) UnmarshalJSON(data []byte) error

type ModelContainerSpecPorts

type ModelContainerSpecPorts struct {
	ContainerPort *int64 `json:"containerPort"`
	// contains filtered or unexported fields
}
var EmptyModelContainerSpecPorts *ModelContainerSpecPorts = &ModelContainerSpecPorts{empty: true}

This object is used to assert a desired state where this ModelContainerSpecPorts is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*ModelContainerSpecPorts) Empty

func (r *ModelContainerSpecPorts) Empty() bool

func (*ModelContainerSpecPorts) HashCode

func (r *ModelContainerSpecPorts) HashCode() string

func (*ModelContainerSpecPorts) String

func (r *ModelContainerSpecPorts) String() string

func (*ModelContainerSpecPorts) UnmarshalJSON

func (r *ModelContainerSpecPorts) UnmarshalJSON(data []byte) error

type ModelDeployedModels

type ModelDeployedModels struct {
	Endpoint        *string `json:"endpoint"`
	DeployedModelId *string `json:"deployedModelId"`
	// contains filtered or unexported fields
}
var EmptyModelDeployedModels *ModelDeployedModels = &ModelDeployedModels{empty: true}

This object is used to assert a desired state where this ModelDeployedModels is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*ModelDeployedModels) Empty

func (r *ModelDeployedModels) Empty() bool

func (*ModelDeployedModels) HashCode

func (r *ModelDeployedModels) HashCode() string

func (*ModelDeployedModels) String

func (r *ModelDeployedModels) String() string

func (*ModelDeployedModels) UnmarshalJSON

func (r *ModelDeployedModels) UnmarshalJSON(data []byte) error

type ModelDeployment

type ModelDeployment struct {
	Model              *string                            `json:"model"`
	Id                 *string                            `json:"id"`
	DedicatedResources *ModelDeploymentDedicatedResources `json:"dedicatedResources"`
	Endpoint           *string                            `json:"endpoint"`
	Location           *string                            `json:"location"`
	Project            *string                            `json:"project"`
}

func (*ModelDeployment) Describe

func (r *ModelDeployment) Describe() dcl.ServiceTypeVersion

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*ModelDeployment) ID

func (r *ModelDeployment) ID() (string, error)

func (*ModelDeployment) String

func (r *ModelDeployment) String() string

type ModelDeploymentDedicatedResources

type ModelDeploymentDedicatedResources struct {
	MachineSpec     *ModelDeploymentDedicatedResourcesMachineSpec `json:"machineSpec"`
	MinReplicaCount *int64                                        `json:"minReplicaCount"`
	MaxReplicaCount *int64                                        `json:"maxReplicaCount"`
	// contains filtered or unexported fields
}
var EmptyModelDeploymentDedicatedResources *ModelDeploymentDedicatedResources = &ModelDeploymentDedicatedResources{empty: true}

This object is used to assert a desired state where this ModelDeploymentDedicatedResources is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*ModelDeploymentDedicatedResources) Empty

func (*ModelDeploymentDedicatedResources) HashCode

func (*ModelDeploymentDedicatedResources) String

func (*ModelDeploymentDedicatedResources) UnmarshalJSON

func (r *ModelDeploymentDedicatedResources) UnmarshalJSON(data []byte) error

type ModelDeploymentDedicatedResourcesMachineSpec

type ModelDeploymentDedicatedResourcesMachineSpec struct {
	MachineType *string `json:"machineType"`
	// contains filtered or unexported fields
}
var EmptyModelDeploymentDedicatedResourcesMachineSpec *ModelDeploymentDedicatedResourcesMachineSpec = &ModelDeploymentDedicatedResourcesMachineSpec{empty: true}

This object is used to assert a desired state where this ModelDeploymentDedicatedResourcesMachineSpec is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*ModelDeploymentDedicatedResourcesMachineSpec) Empty

func (*ModelDeploymentDedicatedResourcesMachineSpec) HashCode

func (*ModelDeploymentDedicatedResourcesMachineSpec) String

func (*ModelDeploymentDedicatedResourcesMachineSpec) UnmarshalJSON

func (r *ModelDeploymentDedicatedResourcesMachineSpec) UnmarshalJSON(data []byte) error

type ModelDeploymentList

type ModelDeploymentList struct {
	Items []*ModelDeployment
	// contains filtered or unexported fields
}

func (*ModelDeploymentList) HasNext

func (l *ModelDeploymentList) HasNext() bool

func (*ModelDeploymentList) Next

func (l *ModelDeploymentList) Next(ctx context.Context, c *Client) error

type ModelEncryptionSpec

type ModelEncryptionSpec struct {
	KmsKeyName *string `json:"kmsKeyName"`
	// contains filtered or unexported fields
}
var EmptyModelEncryptionSpec *ModelEncryptionSpec = &ModelEncryptionSpec{empty: true}

This object is used to assert a desired state where this ModelEncryptionSpec is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*ModelEncryptionSpec) Empty

func (r *ModelEncryptionSpec) Empty() bool

func (*ModelEncryptionSpec) HashCode

func (r *ModelEncryptionSpec) HashCode() string

func (*ModelEncryptionSpec) String

func (r *ModelEncryptionSpec) String() string

func (*ModelEncryptionSpec) UnmarshalJSON

func (r *ModelEncryptionSpec) UnmarshalJSON(data []byte) error

type ModelList

type ModelList struct {
	Items []*Model
	// contains filtered or unexported fields
}

func (*ModelList) HasNext

func (l *ModelList) HasNext() bool

func (*ModelList) Next

func (l *ModelList) Next(ctx context.Context, c *Client) error

type ModelOriginalModelInfo

type ModelOriginalModelInfo struct {
	Model *string `json:"model"`
	// contains filtered or unexported fields
}
var EmptyModelOriginalModelInfo *ModelOriginalModelInfo = &ModelOriginalModelInfo{empty: true}

This object is used to assert a desired state where this ModelOriginalModelInfo is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*ModelOriginalModelInfo) Empty

func (r *ModelOriginalModelInfo) Empty() bool

func (*ModelOriginalModelInfo) HashCode

func (r *ModelOriginalModelInfo) HashCode() string

func (*ModelOriginalModelInfo) String

func (r *ModelOriginalModelInfo) String() string

func (*ModelOriginalModelInfo) UnmarshalJSON

func (r *ModelOriginalModelInfo) UnmarshalJSON(data []byte) error

type ModelSupportedDeploymentResourcesTypesEnum

type ModelSupportedDeploymentResourcesTypesEnum string

The enum ModelSupportedDeploymentResourcesTypesEnum.

func ModelSupportedDeploymentResourcesTypesEnumRef

func ModelSupportedDeploymentResourcesTypesEnumRef(s string) *ModelSupportedDeploymentResourcesTypesEnum

ModelSupportedDeploymentResourcesTypesEnumRef returns a *ModelSupportedDeploymentResourcesTypesEnum with the value of string s If the empty string is provided, nil is returned.

func (ModelSupportedDeploymentResourcesTypesEnum) Validate

type ModelSupportedExportFormats

type ModelSupportedExportFormats struct {
	Id                 *string                                             `json:"id"`
	ExportableContents []ModelSupportedExportFormatsExportableContentsEnum `json:"exportableContents"`
	// contains filtered or unexported fields
}
var EmptyModelSupportedExportFormats *ModelSupportedExportFormats = &ModelSupportedExportFormats{empty: true}

This object is used to assert a desired state where this ModelSupportedExportFormats is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*ModelSupportedExportFormats) Empty

func (r *ModelSupportedExportFormats) Empty() bool

func (*ModelSupportedExportFormats) HashCode

func (r *ModelSupportedExportFormats) HashCode() string

func (*ModelSupportedExportFormats) String

func (r *ModelSupportedExportFormats) String() string

func (*ModelSupportedExportFormats) UnmarshalJSON

func (r *ModelSupportedExportFormats) UnmarshalJSON(data []byte) error

type ModelSupportedExportFormatsExportableContentsEnum

type ModelSupportedExportFormatsExportableContentsEnum string

The enum ModelSupportedExportFormatsExportableContentsEnum.

func ModelSupportedExportFormatsExportableContentsEnumRef

func ModelSupportedExportFormatsExportableContentsEnumRef(s string) *ModelSupportedExportFormatsExportableContentsEnum

ModelSupportedExportFormatsExportableContentsEnumRef returns a *ModelSupportedExportFormatsExportableContentsEnum with the value of string s If the empty string is provided, nil is returned.

func (ModelSupportedExportFormatsExportableContentsEnum) Validate

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL