Skip to content

Commit

Permalink
Update discovery documents and generated code
Browse files Browse the repository at this point in the history
automatically_generated_update
  • Loading branch information
amanda-tarafa committed Sep 14, 2023
1 parent 12fa23e commit 93aca39
Show file tree
Hide file tree
Showing 162 changed files with 17,901 additions and 1,910 deletions.
70 changes: 69 additions & 1 deletion DiscoveryJson/accesscontextmanager_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1235,7 +1235,7 @@
}
}
},
"revision": "20230903",
"revision": "20230910",
"rootUrl": "https://accesscontextmanager.googleapis.com/",
"schemas": {
"AccessContextManagerOperationMetadata": {
Expand Down Expand Up @@ -1543,6 +1543,13 @@
"type": "string"
},
"type": "array"
},
"vpcNetworkSources": {
"description": "The request must originate from one of the provided VPC networks in Google Cloud. Cannot specify this field together with `ip_subnetworks`.",
"items": {
"$ref": "VpcNetworkSource"
},
"type": "array"
}
},
"type": "object"
Expand Down Expand Up @@ -1648,6 +1655,27 @@
"Authorize access from all service accounts outside the perimeter."
],
"type": "string"
},
"sourceRestriction": {
"description": "Whether to enforce traffic restrictions based on `sources` field. If the `sources` fields is non-empty, then this field must be set to `SOURCE_RESTRICTION_ENABLED`.",
"enum": [
"SOURCE_RESTRICTION_UNSPECIFIED",
"SOURCE_RESTRICTION_ENABLED",
"SOURCE_RESTRICTION_DISABLED"
],
"enumDescriptions": [
"Enforcement preference unspecified, will not enforce traffic restrictions based on `sources` in EgressFrom.",
"Enforcement preference enabled, traffic restrictions will be enforced based on `sources` in EgressFrom.",
"Enforcement preference disabled, will not enforce traffic restrictions based on `sources` in EgressFrom."
],
"type": "string"
},
"sources": {
"description": "Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`.",
"items": {
"$ref": "EgressSource"
},
"type": "array"
}
},
"type": "object"
Expand All @@ -1667,6 +1695,17 @@
},
"type": "object"
},
"EgressSource": {
"description": "The source that EgressPolicy authorizes access from inside the ServicePerimeter to somewhere outside the ServicePerimeter boundaries.",
"id": "EgressSource",
"properties": {
"accessLevel": {
"description": "An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed.",
"type": "string"
}
},
"type": "object"
},
"EgressTo": {
"description": "Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the `resources` specified. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. The request must match `operations` AND `resources` fields in order to be allowed egress out of the perimeter.",
"id": "EgressTo",
Expand Down Expand Up @@ -2337,6 +2376,35 @@
}
},
"type": "object"
},
"VpcNetworkSource": {
"description": "The originating network source in Google Cloud.",
"id": "VpcNetworkSource",
"properties": {
"vpcSubnetwork": {
"$ref": "VpcSubNetwork",
"description": "Sub-segment ranges of a VPC network."
}
},
"type": "object"
},
"VpcSubNetwork": {
"description": "Sub-segment ranges inside of a VPC Network.",
"id": "VpcSubNetwork",
"properties": {
"network": {
"description": "Required. Network name. If the network is not part of the organization, the `compute.network.get` permission must be granted to the caller. Format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}` Example: `//compute.googleapis.com/projects/my-project/global/networks/network-1`",
"type": "string"
},
"vpcIpSubnetworks": {
"description": "CIDR block IP subnetwork specification. The IP address must be an IPv4 address and can be a public or private IP address. Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, \"192.0.2.0/24\" is accepted but \"192.0.2.1/24\" is not. If empty, all IP addresses are allowed.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
"servicePath": "",
Expand Down
2 changes: 1 addition & 1 deletion DiscoveryJson/admin_directory_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -4643,7 +4643,7 @@
}
}
},
"revision": "20230829",
"revision": "20230911",
"rootUrl": "https://admin.googleapis.com/",
"schemas": {
"Alias": {
Expand Down
4 changes: 2 additions & 2 deletions DiscoveryJson/admob_v1beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@
}
}
},
"revision": "20230907",
"revision": "20230913",
"rootUrl": "https://admob.googleapis.com/",
"schemas": {
"AdSource": {
Expand Down Expand Up @@ -1412,7 +1412,7 @@
"type": "object"
},
"MediationAbExperiment": {
"description": "The mediation A/B experiment. NEXT ID: 12",
"description": "The mediation A/B experiment.",
"id": "MediationAbExperiment",
"properties": {
"controlMediationLines": {
Expand Down
67 changes: 50 additions & 17 deletions DiscoveryJson/aiplatform_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3944,12 +3944,12 @@
],
"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/FeatureGroup.",
"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 .",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The resource name of the EntityType or FeatureGroup to create a Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` `projects/{project}/locations/{location}/featureGroups/{feature_group}`",
"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 @@ -3977,7 +3977,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}` `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}`",
"description": "Required. The name of the Features to be deleted. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+$",
"required": true,
Expand All @@ -4002,7 +4002,7 @@
],
"parameters": {
"name": {
"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}`",
"description": "Required. The name of the Feature resource. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+$",
"required": true,
Expand Down Expand Up @@ -4038,7 +4038,7 @@
"type": "integer"
},
"orderBy": {
"description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `feature_id` * `value_type` * `create_time` * `update_time`",
"description": "A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * `feature_id` * `value_type` (Not supported for FeatureRegistry Feature) * `create_time` * `update_time`",
"location": "query",
"type": "string"
},
Expand All @@ -4054,7 +4054,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}` `projects/{project}/locations/{location}/featureGroups/{feature_group}`",
"description": "Required. The resource name of the Location to list Features. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$",
"required": true,
Expand Down Expand Up @@ -12442,7 +12442,7 @@
}
}
},
"revision": "20230812",
"revision": "20230908",
"rootUrl": "https://aiplatform.googleapis.com/",
"schemas": {
"GoogleApiHttpBody": {
Expand Down Expand Up @@ -13813,19 +13813,19 @@
"type": "object"
},
"GoogleCloudAiplatformV1CreateFeatureRequest": {
"description": "Request message for FeaturestoreService.CreateFeature and FeatureRegistryService.CreateFeature.",
"description": "Request message for FeaturestoreService.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/FeatureGroup.",
"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 .",
"type": "string"
},
"parent": {
"description": "Required. The resource name of the EntityType or FeatureGroup to create a Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` `projects/{project}/locations/{location}/featureGroups/{feature_group}`",
"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 @@ -16147,7 +16147,7 @@
"type": "string"
},
"valueType": {
"description": "Required. Immutable. Type of Feature value.",
"description": "Immutable. Type of Feature value.",
"enum": [
"VALUE_TYPE_UNSPECIFIED",
"BOOL",
Expand Down Expand Up @@ -17138,6 +17138,10 @@
"description": "Required. The display name of the Index. The name can be up to 128 characters long and can consist of any UTF-8 characters.",
"type": "string"
},
"encryptionSpec": {
"$ref": "GoogleCloudAiplatformV1EncryptionSpec",
"description": "Immutable. Customer-managed encryption key spec for an Index. If set, this Index and all sub-resources of this Index will be secured by this key."
},
"etag": {
"description": "Used to perform consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.",
"type": "string"
Expand All @@ -17156,7 +17160,7 @@
],
"enumDescriptions": [
"Should not be used.",
"BatchUpdate: user can call UpdateIndex with files on Cloud Storage of datapoints to update.",
"BatchUpdate: user can call UpdateIndex with files on Cloud Storage of Datapoints to update.",
"StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update the Index and the updates will be applied in corresponding DeployedIndexes in nearly real-time."
],
"type": "string"
Expand Down Expand Up @@ -17211,7 +17215,7 @@
"type": "array"
},
"restricts": {
"description": "Optional. List of Restrict of the datapoint, used to perform \"restricted searches\" where boolean rule are used to filter the subset of the database eligible for matching. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering",
"description": "Optional. List of Restrict of the datapoint, used to perform \"restricted searches\" where boolean rule are used to filter the subset of the database eligible for matching. This uses categorical tokens. See: https://cloud.google.com/vertex-ai/docs/matching-engine/filtering",
"items": {
"$ref": "GoogleCloudAiplatformV1IndexDatapointRestriction"
},
Expand All @@ -17236,21 +17240,21 @@
"id": "GoogleCloudAiplatformV1IndexDatapointRestriction",
"properties": {
"allowList": {
"description": "The attributes to allow in this namespace. eg: 'red'",
"description": "The attributes to allow in this namespace. e.g.: 'red'",
"items": {
"type": "string"
},
"type": "array"
},
"denyList": {
"description": "The attributes to deny in this namespace. eg: 'blue'",
"description": "The attributes to deny in this namespace. e.g.: 'blue'",
"items": {
"type": "string"
},
"type": "array"
},
"namespace": {
"description": "The namespace of this restriction. eg: color.",
"description": "The namespace of this restriction. e.g.: color.",
"type": "string"
}
},
Expand Down Expand Up @@ -17287,6 +17291,10 @@
"description": "Optional. Deprecated: If true, expose the IndexEndpoint via private service connect. Only one of the fields, network or enable_private_service_connect, can be set.",
"type": "boolean"
},
"encryptionSpec": {
"$ref": "GoogleCloudAiplatformV1EncryptionSpec",
"description": "Immutable. Customer-managed encryption key spec for an IndexEndpoint. If set, this IndexEndpoint and all sub-resources of this IndexEndpoint will be secured by this key."
},
"etag": {
"description": "Used to perform consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.",
"type": "string"
Expand Down Expand Up @@ -17693,7 +17701,7 @@
"type": "object"
},
"GoogleCloudAiplatformV1ListFeaturesResponse": {
"description": "Response message for FeaturestoreService.ListFeatures. Response message for FeatureRegistryService.ListFeatures.",
"description": "Response message for FeaturestoreService.ListFeatures.",
"id": "GoogleCloudAiplatformV1ListFeaturesResponse",
"properties": {
"features": {
Expand Down Expand Up @@ -26190,6 +26198,13 @@
"description": "Required. The identifier of the client that is requesting the suggestion. If multiple SuggestTrialsRequests have the same `client_id`, the service will return the identical suggested Trial if the Trial is pending, and provide a new Trial if the last suggested Trial was completed.",
"type": "string"
},
"contexts": {
"description": "Optional. This allows you to specify the \"context\" for a Trial; a context is a slice (a subspace) of the search space. Typical uses for contexts: 1) You are using Vizier to tune a server for best performance, but there's a strong weekly cycle. The context specifies the day-of-week. This allows Tuesday to generalize from Wednesday without assuming that everything is identical. 2) Imagine you're optimizing some medical treatment for people. As they walk in the door, you know certain facts about them (e.g. sex, weight, height, blood-pressure). Put that information in the context, and Vizier will adapt its suggestions to the patient. 3) You want to do a fair A/B test efficiently. Specify the \"A\" and \"B\" conditions as contexts, and Vizier will generalize between \"A\" and \"B\" conditions. If they are similar, this will allow Vizier to converge to the optimum faster than if \"A\" and \"B\" were separate Studies. NOTE: You can also enter contexts as REQUESTED Trials, e.g. via the CreateTrial() RPC; that's the asynchronous option where you don't need a close association between contexts and suggestions. NOTE: All the Parameters you set in a context MUST be defined in the Study. NOTE: You must supply 0 or $suggestion_count contexts. If you don't supply any contexts, Vizier will make suggestions from the full search space specified in the StudySpec; if you supply a full set of context, each suggestion will match the corresponding context. NOTE: A Context with no features set matches anything, and allows suggestions from the full search space. NOTE: Contexts MUST lie within the search space specified in the StudySpec. It's an error if they don't. NOTE: Contexts preferentially match ACTIVE then REQUESTED trials before new suggestions are generated. NOTE: Generation of suggestions involves a match between a Context and (optionally) a REQUESTED trial; if that match is not fully specified, a suggestion will be geneated in the merged subspace.",
"items": {
"$ref": "GoogleCloudAiplatformV1TrialContext"
},
"type": "array"
},
"suggestionCount": {
"description": "Required. The number of suggestions requested. It must be positive.",
"format": "int32",
Expand Down Expand Up @@ -26997,6 +27012,24 @@
},
"type": "object"
},
"GoogleCloudAiplatformV1TrialContext": {
"description": "Next ID: 3",
"id": "GoogleCloudAiplatformV1TrialContext",
"properties": {
"description": {
"description": "A human-readable field which can store a description of this context. This will become part of the resulting Trial's description field.",
"type": "string"
},
"parameters": {
"description": "If/when a Trial is generated or selected from this Context, its Parameters will match any parameters specified here. (I.e. if this context specifies parameter name:'a' int_value:3, then a resulting Trial will have int_value:3 for its parameter named 'a'.) Note that we first attempt to match existing REQUESTED Trials with contexts, and if there are no matches, we generate suggestions in the subspace defined by the parameters specified here. NOTE: a Context without any Parameters matches the entire feasible search space.",
"items": {
"$ref": "GoogleCloudAiplatformV1TrialParameter"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1TrialParameter": {
"description": "A message representing a parameter to be tuned.",
"id": "GoogleCloudAiplatformV1TrialParameter",
Expand Down
Loading

0 comments on commit 93aca39

Please sign in to comment.