Skip to content

Commit

Permalink
feat(aiplatform): update the api
Browse files Browse the repository at this point in the history
#### aiplatform:v1

The following keys were deleted:
- schemas.GoogleCloudAiplatformV1GoogleSearchRetrieval (Total Keys: 3)
- schemas.GoogleCloudAiplatformV1Retrieval (Total Keys: 4)
- schemas.GoogleCloudAiplatformV1Tool.properties.googleSearchRetrieval.$ref (Total Keys: 1)
- schemas.GoogleCloudAiplatformV1Tool.properties.retrieval.$ref (Total Keys: 1)
- schemas.GoogleCloudAiplatformV1VertexAISearch (Total Keys: 3)

The following keys were added:
- schemas.CloudAiLargeModelsVisionImage.properties.text.type (Total Keys: 1)
- schemas.GoogleCloudAiplatformV1DatasetVersion.properties.displayName.type (Total Keys: 1)
- schemas.GoogleCloudAiplatformV1DatasetVersion.properties.metadata.type (Total Keys: 1)
- schemas.GoogleCloudAiplatformV1Feature.properties.pointOfContact.type (Total Keys: 1)
- schemas.GoogleCloudAiplatformV1FeatureViewDataKey.properties.compositeKey.$ref (Total Keys: 1)
- schemas.GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey (Total Keys: 4)
- schemas.GoogleCloudAiplatformV1SafetyRating.properties.probabilityScore (Total Keys: 3)
- schemas.GoogleCloudAiplatformV1SafetyRating.properties.severity (Total Keys: 5)
- schemas.LearningGenaiRootCodeyChatMetadata (Total Keys: 3)
- schemas.LearningGenaiRootCodeyCheckpoint (Total Keys: 5)
- schemas.LearningGenaiRootCodeyCompletionMetadata (Total Keys: 4)
- schemas.LearningGenaiRootCodeyOutput (Total Keys: 4)
- schemas.LearningGenaiRootCodeyTruncatorMetadata (Total Keys: 5)
- schemas.LearningServingLlmMessageMetadata.properties.codeyOutput.$ref (Total Keys: 1)

#### aiplatform:v1beta1

The following keys were deleted:
- resources.projects.resources.locations.resources.pipelineJobs.methods.create.parameters.preflightValidations (Total Keys: 2)
- schemas.GoogleCloudAiplatformV1beta1CreatePipelineJobRequest.properties.preflightValidations.type (Total Keys: 1)

The following keys were added:
- schemas.CloudAiLargeModelsVisionImage.properties.text.type (Total Keys: 1)
- schemas.GoogleCloudAiplatformV1beta1DatasetVersion.properties.displayName.type (Total Keys: 1)
- schemas.GoogleCloudAiplatformV1beta1DatasetVersion.properties.metadata.type (Total Keys: 1)
- schemas.GoogleCloudAiplatformV1beta1Feature.properties.pointOfContact.type (Total Keys: 1)
- schemas.GoogleCloudAiplatformV1beta1FeatureView.properties.serviceAccountEmail (Total Keys: 2)
- schemas.GoogleCloudAiplatformV1beta1FeatureView.properties.serviceAgentType.type (Total Keys: 1)
- schemas.GoogleCloudAiplatformV1beta1FeatureViewDataKey.properties.compositeKey.$ref (Total Keys: 1)
- schemas.GoogleCloudAiplatformV1beta1FeatureViewDataKeyCompositeKey (Total Keys: 4)
- schemas.GoogleCloudAiplatformV1beta1GenieSource (Total Keys: 3)
- schemas.GoogleCloudAiplatformV1beta1Model.properties.baseModelSource.$ref (Total Keys: 1)
- schemas.GoogleCloudAiplatformV1beta1ModelBaseModelSource (Total Keys: 4)
- schemas.GoogleCloudAiplatformV1beta1ModelGardenSource (Total Keys: 3)
- schemas.GoogleCloudAiplatformV1beta1PipelineJob.properties.preflightValidations.type (Total Keys: 1)
- schemas.GoogleCloudAiplatformV1beta1SafetyRating.properties.probabilityScore (Total Keys: 3)
- schemas.GoogleCloudAiplatformV1beta1SafetyRating.properties.severity (Total Keys: 5)
- schemas.LearningGenaiRootCodeyChatMetadata (Total Keys: 3)
- schemas.LearningGenaiRootCodeyCheckpoint (Total Keys: 5)
- schemas.LearningGenaiRootCodeyCompletionMetadata (Total Keys: 4)
- schemas.LearningGenaiRootCodeyOutput (Total Keys: 4)
- schemas.LearningGenaiRootCodeyTruncatorMetadata (Total Keys: 5)
- schemas.LearningServingLlmMessageMetadata.properties.codeyOutput.$ref (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Feb 27, 2024
1 parent 3fc86c6 commit 663bdae
Show file tree
Hide file tree
Showing 22 changed files with 984 additions and 211 deletions.
Expand Up @@ -113,7 +113,9 @@ <h3>Method Details</h3>
{ # Describes the dataset version.
&quot;bigQueryDatasetName&quot;: &quot;A String&quot;, # Output only. Name of the associated BigQuery dataset.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this DatasetVersion was created.
&quot;displayName&quot;: &quot;A String&quot;, # The user-defined name of the DatasetVersion. The name can be up to 128 characters long and can consist of any UTF-8 characters.
&quot;etag&quot;: &quot;A String&quot;, # Used to perform consistent read-modify-write updates. If not set, a blind &quot;overwrite&quot; update happens.
&quot;metadata&quot;: &quot;&quot;, # Required. Additional information about the DatasetVersion.
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the DatasetVersion.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this DatasetVersion was last updated.
}
Expand Down Expand Up @@ -200,7 +202,9 @@ <h3>Method Details</h3>
{ # Describes the dataset version.
&quot;bigQueryDatasetName&quot;: &quot;A String&quot;, # Output only. Name of the associated BigQuery dataset.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this DatasetVersion was created.
&quot;displayName&quot;: &quot;A String&quot;, # The user-defined name of the DatasetVersion. The name can be up to 128 characters long and can consist of any UTF-8 characters.
&quot;etag&quot;: &quot;A String&quot;, # Used to perform consistent read-modify-write updates. If not set, a blind &quot;overwrite&quot; update happens.
&quot;metadata&quot;: &quot;&quot;, # Required. Additional information about the DatasetVersion.
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the DatasetVersion.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this DatasetVersion was last updated.
}</pre>
Expand Down Expand Up @@ -230,7 +234,9 @@ <h3>Method Details</h3>
{ # Describes the dataset version.
&quot;bigQueryDatasetName&quot;: &quot;A String&quot;, # Output only. Name of the associated BigQuery dataset.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this DatasetVersion was created.
&quot;displayName&quot;: &quot;A String&quot;, # The user-defined name of the DatasetVersion. The name can be up to 128 characters long and can consist of any UTF-8 characters.
&quot;etag&quot;: &quot;A String&quot;, # Used to perform consistent read-modify-write updates. If not set, a blind &quot;overwrite&quot; update happens.
&quot;metadata&quot;: &quot;&quot;, # Required. Additional information about the DatasetVersion.
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the DatasetVersion.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this DatasetVersion was last updated.
},
Expand Down
38 changes: 16 additions & 22 deletions docs/dyn/aiplatform_v1.projects.locations.endpoints.html
Expand Up @@ -1114,8 +1114,8 @@ <h3>Method Details</h3>
},
],
&quot;tools&quot;: [ # Optional. A list of `Tools` the model may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model.
{ # Tool details that the model may use to generate response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. A Tool object should contain exactly one type of Tool.
&quot;functionDeclarations&quot;: [ # Optional. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating FunctionCall in the response. User should provide a FunctionResponse for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 64 function declarations can be provided.
{ # Tool details that the model may use to generate response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. A Tool object should contain exactly one type of Tool (e.g FunctionDeclaration, Retrieval or GoogleSearchRetrieval).
&quot;functionDeclarations&quot;: [ # Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating FunctionCall in the response. User should provide a FunctionResponse for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 64 function declarations can be provided.
{ # Structured representation of a function declaration as defined by the [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name and parameters. This FunctionDeclaration is a representation of a block of code that can be used as a `Tool` by the model and executed by the client.
&quot;description&quot;: &quot;A String&quot;, # Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function.
&quot;name&quot;: &quot;A String&quot;, # Required. The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
Expand All @@ -1138,15 +1138,6 @@ <h3>Method Details</h3>
},
},
],
&quot;googleSearchRetrieval&quot;: { # Tool to retrieve public web data for grounding, powered by Google. # Optional. Specialized retrieval tool that is powered by Google search.
&quot;disableAttribution&quot;: True or False, # Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation.
},
&quot;retrieval&quot;: { # Defines a retrieval tool that model can call to access external knowledge. # Optional. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation.
&quot;disableAttribution&quot;: True or False, # Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation.
&quot;vertexAiSearch&quot;: { # Retrieve from Vertex AI Search datastore for grounding. See https://cloud.google.com/vertex-ai-search-and-conversation # Set to use data source powered by Vertex AI Search.
&quot;datastore&quot;: &quot;A String&quot;, # Required. Fully-qualified Vertex AI Search&#x27;s datastore resource ID. projects/&lt;&gt;/locations/&lt;&gt;/collections/&lt;&gt;/dataStores/&lt;&gt;
},
},
},
],
}
Expand Down Expand Up @@ -1237,6 +1228,9 @@ <h3>Method Details</h3>
&quot;blocked&quot;: True or False, # Output only. Indicates whether the content was filtered out because of this rating.
&quot;category&quot;: &quot;A String&quot;, # Output only. Harm category.
&quot;probability&quot;: &quot;A String&quot;, # Output only. Harm probability levels in the content.
&quot;probabilityScore&quot;: 3.14, # Output only. Harm probability score.
&quot;severity&quot;: &quot;A String&quot;, # Output only. Harm severity levels in the content.
&quot;severityScore&quot;: 3.14, # Output only. Harm severity score.
},
],
},
Expand All @@ -1249,6 +1243,9 @@ <h3>Method Details</h3>
&quot;blocked&quot;: True or False, # Output only. Indicates whether the content was filtered out because of this rating.
&quot;category&quot;: &quot;A String&quot;, # Output only. Harm category.
&quot;probability&quot;: &quot;A String&quot;, # Output only. Harm probability levels in the content.
&quot;probabilityScore&quot;: 3.14, # Output only. Harm probability score.
&quot;severity&quot;: &quot;A String&quot;, # Output only. Harm severity levels in the content.
&quot;severityScore&quot;: 3.14, # Output only. Harm severity score.
},
],
},
Expand Down Expand Up @@ -2569,8 +2566,8 @@ <h3>Method Details</h3>
},
],
&quot;tools&quot;: [ # Optional. A list of `Tools` the model may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model.
{ # Tool details that the model may use to generate response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. A Tool object should contain exactly one type of Tool.
&quot;functionDeclarations&quot;: [ # Optional. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating FunctionCall in the response. User should provide a FunctionResponse for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 64 function declarations can be provided.
{ # Tool details that the model may use to generate response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. A Tool object should contain exactly one type of Tool (e.g FunctionDeclaration, Retrieval or GoogleSearchRetrieval).
&quot;functionDeclarations&quot;: [ # Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating FunctionCall in the response. User should provide a FunctionResponse for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 64 function declarations can be provided.
{ # Structured representation of a function declaration as defined by the [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name and parameters. This FunctionDeclaration is a representation of a block of code that can be used as a `Tool` by the model and executed by the client.
&quot;description&quot;: &quot;A String&quot;, # Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function.
&quot;name&quot;: &quot;A String&quot;, # Required. The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
Expand All @@ -2593,15 +2590,6 @@ <h3>Method Details</h3>
},
},
],
&quot;googleSearchRetrieval&quot;: { # Tool to retrieve public web data for grounding, powered by Google. # Optional. Specialized retrieval tool that is powered by Google search.
&quot;disableAttribution&quot;: True or False, # Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation.
},
&quot;retrieval&quot;: { # Defines a retrieval tool that model can call to access external knowledge. # Optional. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation.
&quot;disableAttribution&quot;: True or False, # Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation.
&quot;vertexAiSearch&quot;: { # Retrieve from Vertex AI Search datastore for grounding. See https://cloud.google.com/vertex-ai-search-and-conversation # Set to use data source powered by Vertex AI Search.
&quot;datastore&quot;: &quot;A String&quot;, # Required. Fully-qualified Vertex AI Search&#x27;s datastore resource ID. projects/&lt;&gt;/locations/&lt;&gt;/collections/&lt;&gt;/dataStores/&lt;&gt;
},
},
},
],
}
Expand Down Expand Up @@ -2692,6 +2680,9 @@ <h3>Method Details</h3>
&quot;blocked&quot;: True or False, # Output only. Indicates whether the content was filtered out because of this rating.
&quot;category&quot;: &quot;A String&quot;, # Output only. Harm category.
&quot;probability&quot;: &quot;A String&quot;, # Output only. Harm probability levels in the content.
&quot;probabilityScore&quot;: 3.14, # Output only. Harm probability score.
&quot;severity&quot;: &quot;A String&quot;, # Output only. Harm severity levels in the content.
&quot;severityScore&quot;: 3.14, # Output only. Harm severity score.
},
],
},
Expand All @@ -2704,6 +2695,9 @@ <h3>Method Details</h3>
&quot;blocked&quot;: True or False, # Output only. Indicates whether the content was filtered out because of this rating.
&quot;category&quot;: &quot;A String&quot;, # Output only. Harm category.
&quot;probability&quot;: &quot;A String&quot;, # Output only. Harm probability levels in the content.
&quot;probabilityScore&quot;: 3.14, # Output only. Harm probability score.
&quot;severity&quot;: &quot;A String&quot;, # Output only. Harm severity levels in the content.
&quot;severityScore&quot;: 3.14, # Output only. Harm severity score.
},
],
},
Expand Down
Expand Up @@ -138,6 +138,7 @@ <h3>Method Details</h3>
},
],
&quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.
&quot;pointOfContact&quot;: &quot;A String&quot;, # Entity responsible for maintaining this feature. Can be comma separated list of email addresses or URIs.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was most recently updated.
&quot;valueType&quot;: &quot;A String&quot;, # Immutable. Only applicable for Vertex AI Feature Store (Legacy). Type of Feature value.
&quot;versionColumnName&quot;: &quot;A String&quot;, # Only applicable for Vertex AI Feature Store. The name of the BigQuery Table/View column hosting data for this version. If no value is provided, will use feature_id.
Expand Down Expand Up @@ -245,6 +246,7 @@ <h3>Method Details</h3>
},
],
&quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.
&quot;pointOfContact&quot;: &quot;A String&quot;, # Entity responsible for maintaining this feature. Can be comma separated list of email addresses or URIs.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was most recently updated.
&quot;valueType&quot;: &quot;A String&quot;, # Immutable. Only applicable for Vertex AI Feature Store (Legacy). Type of Feature value.
&quot;versionColumnName&quot;: &quot;A String&quot;, # Only applicable for Vertex AI Feature Store. The name of the BigQuery Table/View column hosting data for this version. If no value is provided, will use feature_id.
Expand Down Expand Up @@ -296,6 +298,7 @@ <h3>Method Details</h3>
},
],
&quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.
&quot;pointOfContact&quot;: &quot;A String&quot;, # Entity responsible for maintaining this feature. Can be comma separated list of email addresses or URIs.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was most recently updated.
&quot;valueType&quot;: &quot;A String&quot;, # Immutable. Only applicable for Vertex AI Feature Store (Legacy). Type of Feature value.
&quot;versionColumnName&quot;: &quot;A String&quot;, # Only applicable for Vertex AI Feature Store. The name of the BigQuery Table/View column hosting data for this version. If no value is provided, will use feature_id.
Expand Down Expand Up @@ -351,6 +354,7 @@ <h3>Method Details</h3>
},
],
&quot;name&quot;: &quot;A String&quot;, # Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.
&quot;pointOfContact&quot;: &quot;A String&quot;, # Entity responsible for maintaining this feature. Can be comma separated list of email addresses or URIs.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was most recently updated.
&quot;valueType&quot;: &quot;A String&quot;, # Immutable. Only applicable for Vertex AI Feature Store (Legacy). Type of Feature value.
&quot;versionColumnName&quot;: &quot;A String&quot;, # Only applicable for Vertex AI Feature Store. The name of the BigQuery Table/View column hosting data for this version. If no value is provided, will use feature_id.
Expand Down

0 comments on commit 663bdae

Please sign in to comment.