Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2197)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Oct 4, 2023
1 parent 34e0216 commit 5779cfc
Show file tree
Hide file tree
Showing 35 changed files with 10,299 additions and 721 deletions.
77 changes: 65 additions & 12 deletions aiplatform/v1/aiplatform-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -4109,12 +4109,11 @@
],
"parameters": {
"featureId": {
"description": "Required. The ID to use for the Feature, which will become the final component of the Feature's resource name. This value may be up to 128 characters, and valid characters are `[a-z0-9_]`. The first character cannot be a number. The value must be unique within an EntityType .",
"description": "Required. The ID to use for the Feature, which will become the final component of the Feature's resource name. This value may be up to 128 characters, and valid characters are `[a-z0-9_]`. The first character cannot be a number. The value must be unique within an EntityType/FeatureGroup.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The resource name of the EntityType to create a Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$",
"required": true,
Expand Down Expand Up @@ -4142,7 +4141,7 @@
],
"parameters": {
"name": {
"description": "Required. The name of the Features to be deleted. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`",
"description": "Required. The name of the Features to be deleted. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+$",
"required": true,
Expand All @@ -4167,7 +4166,7 @@
],
"parameters": {
"name": {
"description": "Required. The name of the Feature resource. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`",
"description": "Required. The name of the Feature resource. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` `projects/{project}/locations/{location}/featureGroups/{feature_group}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+$",
"required": true,
Expand Down Expand Up @@ -4219,7 +4218,7 @@
"type": "string"
},
"parent": {
"description": "Required. The resource name of the Location to list Features. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`",
"description": "Required. The resource name of the Location to list Features. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` `projects/{project}/locations/{location}/featureGroups/{feature_group}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$",
"required": true,
Expand Down Expand Up @@ -8760,7 +8759,7 @@
],
"parameters": {
"filter": {
"description": "Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `notebookRuntimeTemplate` supports = and !=. `notebookRuntimeTemplate` represents the NotebookRuntimeTemplate ID, i.e. the last segment of the NotebookRuntimeTemplate's resource name. * `display_name` supports = and != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels.\"a key\"`. Some examples: * `notebookRuntimeTemplate=notebookRuntimeTemplate123` * `displayName=\"myDisplayName\"` * `labels.myKey=\"myValue\"`",
"description": "Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `notebookRuntimeTemplate` supports = and !=. `notebookRuntimeTemplate` represents the NotebookRuntimeTemplate ID, i.e. the last segment of the NotebookRuntimeTemplate's resource name. * `display_name` supports = and != * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:key - key existence * A key including a space must be quoted. `labels.\"a key\"`. * `notebookRuntimeType` supports = and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. Some examples: * `notebookRuntimeTemplate=notebookRuntimeTemplate123` * `displayName=\"myDisplayName\"` * `labels.myKey=\"myValue\"` * `notebookRuntimeType=USER_DEFINED`",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -8953,7 +8952,7 @@
],
"parameters": {
"filter": {
"description": "Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `notebookRuntime` supports = and !=. `notebookRuntime` represents the NotebookRuntime ID, i.e. the last segment of the NotebookRuntime's resource name. * `displayName` supports = and != and regex. * `notebookRuntimeTemplate` supports = and !=. `notebookRuntimeTemplate` represents the NotebookRuntimeTemplate ID, i.e. the last segment of the NotebookRuntimeTemplate's resource name. * `healthState` supports = and !=. healthState enum: [HEALTHY, UNHEALTHY, HEALTH_STATE_UNSPECIFIED]. * `runtimeState` supports = and !=. runtimeState enum: [RUNTIME_STATE_UNSPECIFIED, RUNNING, BEING_STARTED, BEING_STOPPED, STOPPED, BEING_UPGRADED]. * `runtimeUser` supports = and !=. * API version is UI only: `uiState` supports = and !=. uiState enum: [UI_RESOURCE_STATE_UNSPECIFIED, UI_RESOURCE_STATE_BEING_CREATED, UI_RESOURCE_STATE_ACTIVE, UI_RESOURCE_STATE_BEING_DELETED, UI_RESOURCE_STATE_CREATION_FAILED]. Some examples: * `notebookRuntime=\"notebookRuntime123\"` * `displayName=\"myDisplayName\"` and `displayName=~\"myDisplayNameRegex\"` * `notebookRuntimeTemplate=\"notebookRuntimeTemplate321\"` * `healthState=HEALTHY` * `runtimeState=RUNNING` * `runtimeUser=\"test@google.com\"` * `uiState=UI_RESOURCE_STATE_BEING_DELETED`",
"description": "Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `notebookRuntime` supports = and !=. `notebookRuntime` represents the NotebookRuntime ID, i.e. the last segment of the NotebookRuntime's resource name. * `displayName` supports = and != and regex. * `notebookRuntimeTemplate` supports = and !=. `notebookRuntimeTemplate` represents the NotebookRuntimeTemplate ID, i.e. the last segment of the NotebookRuntimeTemplate's resource name. * `healthState` supports = and !=. healthState enum: [HEALTHY, UNHEALTHY, HEALTH_STATE_UNSPECIFIED]. * `runtimeState` supports = and !=. runtimeState enum: [RUNTIME_STATE_UNSPECIFIED, RUNNING, BEING_STARTED, BEING_STOPPED, STOPPED, BEING_UPGRADED]. * `runtimeUser` supports = and !=. * API version is UI only: `uiState` supports = and !=. uiState enum: [UI_RESOURCE_STATE_UNSPECIFIED, UI_RESOURCE_STATE_BEING_CREATED, UI_RESOURCE_STATE_ACTIVE, UI_RESOURCE_STATE_BEING_DELETED, UI_RESOURCE_STATE_CREATION_FAILED]. * `notebookRuntimeType` supports = and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. Some examples: * `notebookRuntime=\"notebookRuntime123\"` * `displayName=\"myDisplayName\"` and `displayName=~\"myDisplayNameRegex\"` * `notebookRuntimeTemplate=\"notebookRuntimeTemplate321\"` * `healthState=HEALTHY` * `runtimeState=RUNNING` * `runtimeUser=\"test@google.com\"` * `uiState=UI_RESOURCE_STATE_BEING_DELETED` * `notebookRuntimeType=USER_DEFINED`",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -12998,7 +12997,7 @@
}
}
},
"revision": "20230914",
"revision": "20230929",
"rootUrl": "https://aiplatform.googleapis.com/",
"schemas": {
"GoogleApiHttpBody": {
Expand Down Expand Up @@ -14403,19 +14402,18 @@
"type": "object"
},
"GoogleCloudAiplatformV1CreateFeatureRequest": {
"description": "Request message for FeaturestoreService.CreateFeature.",
"description": "Request message for FeaturestoreService.CreateFeature. Request message for FeatureRegistryService.CreateFeature.",
"id": "GoogleCloudAiplatformV1CreateFeatureRequest",
"properties": {
"feature": {
"$ref": "GoogleCloudAiplatformV1Feature",
"description": "Required. The Feature to create."
},
"featureId": {
"description": "Required. The ID to use for the Feature, which will become the final component of the Feature's resource name. This value may be up to 128 characters, and valid characters are `[a-z0-9_]`. The first character cannot be a number. The value must be unique within an EntityType .",
"description": "Required. The ID to use for the Feature, which will become the final component of the Feature's resource name. This value may be up to 128 characters, and valid characters are `[a-z0-9_]`. The first character cannot be a number. The value must be unique within an EntityType/FeatureGroup.",
"type": "string"
},
"parent": {
"description": "Required. The resource name of the EntityType to create a Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`",
"type": "string"
}
},
Expand Down Expand Up @@ -18376,7 +18374,7 @@
"type": "object"
},
"GoogleCloudAiplatformV1ListFeaturesResponse": {
"description": "Response message for FeaturestoreService.ListFeatures.",
"description": "Response message for FeaturestoreService.ListFeatures. Response message for FeatureRegistryService.ListFeatures.",
"id": "GoogleCloudAiplatformV1ListFeaturesResponse",
"properties": {
"features": {
Expand Down Expand Up @@ -23870,6 +23868,45 @@
},
"type": "object"
},
"GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig": {
"description": "The configuration for grounding checking.",
"id": "GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig",
"properties": {
"sources": {
"description": "The sources for the grounding checking.",
"items": {
"$ref": "GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry": {
"description": "Single source entry for the grounding checking.",
"id": "GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry",
"properties": {
"enterpriseDatastore": {
"description": "The uri of the Enterprise Search data source.",
"type": "string"
},
"type": {
"description": "The type of the grounding checking source.",
"enum": [
"UNSPECIFIED",
"WEB",
"ENTERPRISE"
],
"enumDescriptions": [
"",
"Uses Web Search to check the grounding.",
"Uses Enterprise Search to check the grounding."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1SchemaPredictParamsImageClassificationPredictionParams": {
"description": "Prediction model parameters for Image Classification.",
"id": "GoogleCloudAiplatformV1SchemaPredictParamsImageClassificationPredictionParams",
Expand Down Expand Up @@ -24588,10 +24625,19 @@
"description": "The metadata of Datasets that contain Text Prompt data.",
"id": "GoogleCloudAiplatformV1SchemaTextPromptDatasetMetadata",
"properties": {
"candidateCount": {
"description": "Number of candidates.",
"format": "int64",
"type": "string"
},
"gcsUri": {
"description": "The Google Cloud Storage URI that stores the prompt data.",
"type": "string"
},
"groundingConfig": {
"$ref": "GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig",
"description": "Grounding checking configuration."
},
"maxOutputTokens": {
"description": "Value of the maximum number of tokens generated set when the dataset was saved.",
"format": "int64",
Expand All @@ -24601,6 +24647,13 @@
"description": "Type of the prompt dataset.",
"type": "string"
},
"stopSequences": {
"description": "Customized stop sequences.",
"items": {
"type": "string"
},
"type": "array"
},
"temperature": {
"description": "Temperature value used for sampling set when the dataset was saved. This value is used to tune the degree of randomness.",
"format": "float",
Expand Down
Loading

0 comments on commit 5779cfc

Please sign in to comment.