From c695616b3f6f11887fd1a12119156909798d75bb Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Tue, 10 Sep 2024 00:40:28 -0700 Subject: [PATCH 1/2] chore: Update discovery artifacts (#2479) ## Deleted keys were detected in the following stable discovery artifacts: cloudasset v1 https://togithub.com/googleapis/google-api-python-client/commit/c2fe812c59e334d32025a5453beca0343c60491f ## Deleted keys were detected in the following pre-stable discovery artifacts: migrationcenter v1alpha1 https://togithub.com/googleapis/google-api-python-client/commit/7ccb8790fc04acbfe8e677c53b42e969c7416376 ## Discovery Artifact Change Summary: feat(aiplatform): update the api https://togithub.com/googleapis/google-api-python-client/commit/b0e9b7088d0a9874dfd3fa76c2256c945ddfa5f4 feat(alloydb): update the api https://togithub.com/googleapis/google-api-python-client/commit/4248bcaae79888c7d2f598116c540d94ab295f5a feat(androidmanagement): update the api https://togithub.com/googleapis/google-api-python-client/commit/9cd85f7ba60141ea19dd65190896a417ef0b1fbe feat(apigee): update the api https://togithub.com/googleapis/google-api-python-client/commit/93f395ddde6e1c52e15ce006840f011b71418fec feat(artifactregistry): update the api https://togithub.com/googleapis/google-api-python-client/commit/ae7e87ba4ab148581cc3b79f0bf1846ee1ed3123 feat(backupdr): update the api https://togithub.com/googleapis/google-api-python-client/commit/c4fac8cd319b299aecc9d751e715877b54325365 feat(baremetalsolution): update the api https://togithub.com/googleapis/google-api-python-client/commit/d416775786ef684ee99946cb923d23dbfa50714b feat(chat): update the api https://togithub.com/googleapis/google-api-python-client/commit/96b0c11f8fde539acf84538a91b3bc0248a80165 feat(checks): update the api https://togithub.com/googleapis/google-api-python-client/commit/f6ac594b0d758bc999d982194f6bf1a1178e6024 feat(cloudasset): update the api https://togithub.com/googleapis/google-api-python-client/commit/c2fe812c59e334d32025a5453beca0343c60491f fix(cloudkms): update the api https://togithub.com/googleapis/google-api-python-client/commit/960560970e66bcf40378467352894afc4b4c9101 feat(compute): update the api https://togithub.com/googleapis/google-api-python-client/commit/57a39ac8205dd44a8a4104f2e43a531eb3c9d90c feat(connectors): update the api https://togithub.com/googleapis/google-api-python-client/commit/7722e6e017454a5a367a81247fe01a1854653b32 feat(contactcenteraiplatform): update the api https://togithub.com/googleapis/google-api-python-client/commit/5ea2f0bd58deb72d7f5fe5ebd0321178e4b429b6 feat(container): update the api https://togithub.com/googleapis/google-api-python-client/commit/81dc9c948eb1d04a8328476d76f4168922009016 feat(containeranalysis): update the api https://togithub.com/googleapis/google-api-python-client/commit/76f58d51386bfd92ef74db15a89d64142242a293 feat(discoveryengine): update the api https://togithub.com/googleapis/google-api-python-client/commit/88a5b5f17d5dd0642c9bf820b19c79d080fe7e45 feat(dlp): update the api https://togithub.com/googleapis/google-api-python-client/commit/8d4b2d2e9780e634f416d27cd508d9e1a9936bd9 feat(drive): update the api https://togithub.com/googleapis/google-api-python-client/commit/2ec82eefa3f0beab2ea3b782167cf4eeb1c9c67d feat(file): update the api https://togithub.com/googleapis/google-api-python-client/commit/d81a62a6d9361e0c7105d190fca181d9f8ee0a51 feat(gkehub): update the api https://togithub.com/googleapis/google-api-python-client/commit/aa5e1571c5139293553159dc9a416ee0239f2000 feat(healthcare): update the api https://togithub.com/googleapis/google-api-python-client/commit/7eb47bf628eaa3566278c81803fa906a631e2882 feat(integrations): update the api https://togithub.com/googleapis/google-api-python-client/commit/3060536a781563e759bdf83608176f8465682318 feat(logging): update the api https://togithub.com/googleapis/google-api-python-client/commit/b784bf0186abbacd9b040ae4f42c465ab428c136 feat(migrationcenter): update the api https://togithub.com/googleapis/google-api-python-client/commit/7ccb8790fc04acbfe8e677c53b42e969c7416376 feat(monitoring): update the api https://togithub.com/googleapis/google-api-python-client/commit/da429bd49ae672d251a5d1e4972484f05dbcc684 feat(networksecurity): update the api https://togithub.com/googleapis/google-api-python-client/commit/baac341fa5fc8cc15176bf0ab83ffb9f3adfe306 feat(redis): update the api https://togithub.com/googleapis/google-api-python-client/commit/22f6a96c896e1af1cd8a0d49dc1bdb5458569024 feat(run): update the api https://togithub.com/googleapis/google-api-python-client/commit/52b287d546f7df0048880e1cb2451b1f84ea266a fix(spanner): update the api https://togithub.com/googleapis/google-api-python-client/commit/cf162c2c525054e0cdad889ca15fd9b5f29ae1d2 feat(sqladmin): update the api https://togithub.com/googleapis/google-api-python-client/commit/1769e73def4dfc8daad50d7a19cc6a8d43ee6ba1 --- ...irectory_v1.customer.devices.chromeos.html | 2 +- docs/dyn/aiplatform_v1.endpoints.html | 116 +- ...ations.datasets.dataItems.annotations.html | 4 +- ...tform_v1.projects.locations.endpoints.html | 116 +- ...m_v1.projects.locations.featureGroups.html | 8 + ...ions.featureOnlineStores.featureViews.html | 142 +- ...rojects.locations.featureOnlineStores.html | 124 ++ ....projects.locations.publishers.models.html | 116 +- ...form_v1.projects.locations.tuningJobs.html | 8 +- docs/dyn/aiplatform_v1.publishers.models.html | 116 +- docs/dyn/aiplatform_v1beta1.endpoints.html | 40 +- docs/dyn/aiplatform_v1beta1.media.html | 8 + ...ta1.projects.locations.cachedContents.html | 90 +- ...ations.datasets.dataItems.annotations.html | 4 +- ..._v1beta1.projects.locations.endpoints.html | 40 +- ...v1beta1.projects.locations.extensions.html | 24 +- ...eta1.projects.locations.featureGroups.html | 8 + ...ions.featureOnlineStores.featureViews.html | 18 +- ....projects.locations.publishers.models.html | 40 +- ...v1beta1.projects.locations.ragCorpora.html | 150 ++ ...rojects.locations.ragCorpora.ragFiles.html | 8 + ...v1beta1.projects.locations.tuningJobs.html | 16 +- .../aiplatform_v1beta1.publishers.models.html | 40 +- ...lloydb_v1.projects.locations.clusters.html | 48 + ...projects.locations.clusters.instances.html | 20 + ...db_v1beta.projects.locations.clusters.html | 48 + ...oidmanagement_v1.enterprises.policies.html | 16 +- ...izations.environments.securityActions.html | 18 + ...projects.locations.repositories.files.html | 2 +- ...ry_v1.projects.locations.repositories.html | 17 +- ...jects.locations.repositories.packages.html | 2 +- ....locations.repositories.packages.tags.html | 2 +- ...ations.repositories.packages.versions.html | 2 +- ...projects.locations.repositories.files.html | 2 +- ....locations.repositories.packages.tags.html | 2 +- ...projects.locations.repositories.files.html | 2 +- ....locations.repositories.packages.tags.html | 2 +- ...ions.backupVaults.dataSources.backups.html | 9 + ...rojects.locations.provisioningConfigs.html | 21 +- docs/dyn/chat_v1.spaces.messages.html | 40 + docs/dyn/chat_v1.spaces.spaceEvents.html | 60 + docs/dyn/checks_v1alpha.accounts.html | 5 + docs/dyn/checks_v1alpha.accounts.repos.html | 91 ++ ...cks_v1alpha.accounts.repos.operations.html | 124 ++ docs/dyn/cloudasset_v1.operations.html | 48 - docs/dyn/cloudasset_v1.v1.html | 2 +- ...dbuild_v1.projects.locations.triggers.html | 12 +- docs/dyn/cloudbuild_v1.projects.triggers.html | 12 +- docs/dyn/compute_alpha.html | 5 + docs/dyn/compute_alpha.regionCommitments.html | 18 + ...ionInstanceGroupManagerResizeRequests.html | 260 +++ docs/dyn/compute_alpha.reservationBlocks.html | 197 +++ docs/dyn/compute_alpha.reservations.html | 15 + ...ompute_v1.globalNetworkEndpointGroups.html | 3 + .../dyn/compute_v1.networkEndpointGroups.html | 3 + ...ompute_v1.regionNetworkEndpointGroups.html | 3 + ...ors_v1.projects.locations.connections.html | 115 ++ ...tomConnectors.customConnectorVersions.html | 21 + ...cations.providers.connectors.versions.html | 63 + ...ha1.projects.locations.contactCenters.html | 20 +- ...r_v1beta1.projects.locations.clusters.html | 8 + ...ainer_v1beta1.projects.zones.clusters.html | 8 + ...ysis_v1beta1.projects.locations.notes.html | 140 ++ ...1beta1.projects.locations.occurrences.html | 140 ++ ...ow_v3.projects.locations.agents.flows.html | 12 +- ...jects.locations.agents.flows.versions.html | 10 +- ...3.projects.locations.agents.testCases.html | 4 +- ...ojects.locations.agents.conversations.html | 12 +- ...ocations.agents.environments.sessions.html | 6 +- ...beta1.projects.locations.agents.flows.html | 12 +- ...jects.locations.agents.flows.versions.html | 10 +- ...a1.projects.locations.agents.sessions.html | 6 +- ...1.projects.locations.agents.testCases.html | 4 +- ...ections.dataStores.branches.documents.html | 98 ++ ....collections.dataStores.conversations.html | 14 + ...collections.dataStores.servingConfigs.html | 28 + ...ons.collections.engines.conversations.html | 14 + ...ns.collections.engines.servingConfigs.html | 28 + ...cations.dataStores.branches.documents.html | 98 ++ ...ts.locations.dataStores.conversations.html | 14 + ...s.locations.dataStores.servingConfigs.html | 28 + ...ections.dataStores.branches.documents.html | 98 ++ ....collections.dataStores.conversations.html | 14 + ...collections.dataStores.servingConfigs.html | 42 + ...ons.collections.engines.conversations.html | 14 + ...ns.collections.engines.servingConfigs.html | 42 + ...cations.dataStores.branches.documents.html | 98 ++ ...ts.locations.dataStores.conversations.html | 14 + ...s.locations.dataStores.servingConfigs.html | 42 + ...ections.dataStores.branches.documents.html | 98 ++ ....collections.dataStores.conversations.html | 14 + ...collections.dataStores.servingConfigs.html | 42 + ...ons.collections.engines.conversations.html | 14 + ...ns.collections.engines.servingConfigs.html | 42 + ...cations.dataStores.branches.documents.html | 98 ++ ...ts.locations.dataStores.conversations.html | 14 + ...s.locations.dataStores.servingConfigs.html | 42 + ...anizations.locations.discoveryConfigs.html | 24 + ...tions.locations.fileStoreDataProfiles.html | 16 + ...nizations.locations.tableDataProfiles.html | 16 + ...2.projects.locations.discoveryConfigs.html | 24 + ...jects.locations.fileStoreDataProfiles.html | 16 + ....projects.locations.tableDataProfiles.html | 16 + docs/dyn/drive_v3.files.html | 40 + docs/dyn/drive_v3.html | 10 + docs/dyn/drive_v3.operation.html | 118 ++ docs/dyn/drive_v3.operations.html | 187 +++ .../file_v1.projects.locations.instances.html | 60 + ...le_v1beta1.projects.locations.backups.html | 8 +- ..._v1beta1.projects.locations.instances.html | 114 +- ...rojects.locations.instances.snapshots.html | 8 +- ...gkehub_v1.projects.locations.features.html | 72 +- ...b_v1alpha.projects.locations.features.html | 72 +- ...ub_v1beta.projects.locations.features.html | 72 +- ...ts.locations.datasets.fhirStores.fhir.html | 138 ++ ...ts.locations.datasets.fhirStores.fhir.html | 138 ++ docs/dyn/index.md | 1 + ...ons_v1.projects.locations.connections.html | 22 + docs/dyn/logging_v2.projects.metrics.html | 18 + ...unts_v1beta.accounts.shippingSettings.html | 6 +- ...oncenter_v1.projects.locations.assets.html | 84 +- ...er_v1alpha1.projects.locations.assets.html | 112 +- ...1.projects.locations.assetsExportJobs.html | 66 + ...ha1.projects.locations.preferenceSets.html | 24 +- ...jects.locations.reportConfigs.reports.html | 18 +- ...rojects.locations.sources.errorFrames.html | 8 +- .../monitoring_v1.projects.dashboards.html | 264 +++ ...itoring_v3.projects.metricDescriptors.html | 12 + .../monitoring_v3.projects.timeSeries.html | 8 +- ...rksecurity_v1beta1.projects.locations.html | 20 + ...s.locations.mirroringDeploymentGroups.html | 341 ++++ ...ojects.locations.mirroringDeployments.html | 328 ++++ ...ns.mirroringEndpointGroupAssociations.html | 349 ++++ ...cts.locations.mirroringEndpointGroups.html | 321 ++++ ...rojects.locations.osPolicyAssignments.html | 20 +- .../dyn/run_v2.projects.locations.builds.html | 1 + .../run_v2.projects.locations.services.html | 8 +- ...projects.locations.services.revisions.html | 4 +- .../servicenetworking_v1.services.roles.html | 2 +- docs/dyn/sqladmin_v1.instances.html | 334 ++++ docs/dyn/sqladmin_v1beta4.instances.html | 334 ++++ docs/dyn/vision_v1.files.html | 2 +- docs/dyn/vision_v1.images.html | 2 +- docs/dyn/vision_v1.projects.files.html | 2 +- docs/dyn/vision_v1.projects.images.html | 2 +- .../vision_v1.projects.locations.files.html | 2 +- .../vision_v1.projects.locations.images.html | 2 +- docs/dyn/vision_v1p1beta1.files.html | 2 +- docs/dyn/vision_v1p1beta1.images.html | 2 +- docs/dyn/vision_v1p1beta1.projects.files.html | 2 +- .../dyn/vision_v1p1beta1.projects.images.html | 2 +- ...on_v1p1beta1.projects.locations.files.html | 2 +- ...n_v1p1beta1.projects.locations.images.html | 2 +- docs/dyn/vision_v1p2beta1.files.html | 2 +- docs/dyn/vision_v1p2beta1.images.html | 2 +- docs/dyn/vision_v1p2beta1.projects.files.html | 2 +- .../dyn/vision_v1p2beta1.projects.images.html | 2 +- ...on_v1p2beta1.projects.locations.files.html | 2 +- ...n_v1p2beta1.projects.locations.images.html | 2 +- .../documents/admin.directory_v1.json | 4 +- .../documents/aiplatform.v1.json | 227 ++- .../documents/aiplatform.v1beta1.json | 253 ++- .../discovery_cache/documents/alloydb.v1.json | 115 +- .../documents/alloydb.v1alpha.json | 34 +- .../documents/alloydb.v1beta.json | 106 +- .../documents/androidmanagement.v1.json | 34 +- .../discovery_cache/documents/apigee.v1.json | 9 +- .../documents/appengine.v1.json | 27 +- .../documents/appengine.v1alpha.json | 27 +- .../documents/appengine.v1beta.json | 27 +- .../documents/artifactregistry.v1.json | 27 +- .../documents/artifactregistry.v1beta1.json | 6 +- .../documents/artifactregistry.v1beta2.json | 6 +- .../documents/backupdr.v1.json | 9 +- .../documents/baremetalsolution.v2.json | 8 +- .../discovery_cache/documents/chat.v1.json | 33 +- .../documents/checks.v1alpha.json | 32 +- .../documents/cloudasset.v1.json | 65 +- .../documents/cloudbuild.v1.json | 4 +- .../documents/cloudidentity.v1.json | 4 +- .../documents/cloudidentity.v1beta1.json | 4 +- .../documents/cloudkms.v1.json | 17 +- .../documents/compute.alpha.json | 504 +++++- .../documents/compute.beta.json | 14 +- .../discovery_cache/documents/compute.v1.json | 11 +- .../documents/connectors.v1.json | 265 ++- .../contactcenteraiplatform.v1alpha1.json | 12 +- .../documents/container.v1beta1.json | 8 +- .../documents/containeranalysis.v1beta1.json | 170 +- .../documents/datalineage.v1.json | 8 +- .../documents/datamigration.v1.json | 8 +- .../documents/dialogflow.v3.json | 4 +- .../documents/dialogflow.v3beta1.json | 4 +- .../documents/discoveryengine.v1.json | 128 +- .../documents/discoveryengine.v1alpha.json | 112 +- .../documents/discoveryengine.v1beta.json | 128 +- .../discovery_cache/documents/dlp.v2.json | 22 +- .../discovery_cache/documents/drive.v3.json | 223 ++- .../discovery_cache/documents/file.v1.json | 86 +- .../documents/file.v1beta1.json | 116 +- .../documents/firebaseml.v2beta.json | 8 +- .../discovery_cache/documents/gkehub.v1.json | 26 +- .../documents/gkehub.v1alpha.json | 26 +- .../documents/gkehub.v1beta.json | 26 +- .../documents/healthcare.v1.json | 112 +- .../documents/healthcare.v1beta1.json | 112 +- .../documents/integrations.v1.json | 49 +- .../discovery_cache/documents/logging.v2.json | 21 +- .../merchantapi.accounts_v1beta.json | 4 +- .../documents/migrationcenter.v1.json | 23 +- .../documents/migrationcenter.v1alpha1.json | 118 +- .../documents/monitoring.v1.json | 29 +- .../documents/monitoring.v3.json | 27 +- .../documents/networksecurity.v1.json | 8 +- .../documents/networksecurity.v1beta1.json | 1446 +++++++++++++++-- .../documents/osconfig.v1.json | 6 +- .../documents/osconfig.v1alpha.json | 4 +- .../discovery_cache/documents/redis.v1.json | 410 ++++- .../documents/redis.v1beta1.json | 410 ++++- .../discovery_cache/documents/run.v2.json | 8 +- .../documents/servicenetworking.v1.json | 4 +- .../documents/servicenetworking.v1beta.json | 4 +- .../discovery_cache/documents/spanner.v1.json | 7 +- .../documents/sqladmin.v1.json | 164 +- .../documents/sqladmin.v1beta4.json | 164 +- .../discovery_cache/documents/vision.v1.json | 12 +- .../documents/vision.v1p1beta1.json | 12 +- .../documents/vision.v1p2beta1.json | 12 +- .../documents/workflowexecutions.v1.json | 8 +- 229 files changed, 12956 insertions(+), 1085 deletions(-) create mode 100644 docs/dyn/checks_v1alpha.accounts.repos.html create mode 100644 docs/dyn/checks_v1alpha.accounts.repos.operations.html create mode 100644 docs/dyn/compute_alpha.reservationBlocks.html create mode 100644 docs/dyn/drive_v3.operation.html create mode 100644 docs/dyn/drive_v3.operations.html create mode 100644 docs/dyn/networksecurity_v1beta1.projects.locations.mirroringDeploymentGroups.html create mode 100644 docs/dyn/networksecurity_v1beta1.projects.locations.mirroringDeployments.html create mode 100644 docs/dyn/networksecurity_v1beta1.projects.locations.mirroringEndpointGroupAssociations.html create mode 100644 docs/dyn/networksecurity_v1beta1.projects.locations.mirroringEndpointGroups.html diff --git a/docs/dyn/admin_directory_v1.customer.devices.chromeos.html b/docs/dyn/admin_directory_v1.customer.devices.chromeos.html index 1ed093d2268..fd5838ef993 100644 --- a/docs/dyn/admin_directory_v1.customer.devices.chromeos.html +++ b/docs/dyn/admin_directory_v1.customer.devices.chromeos.html @@ -151,7 +151,7 @@
Close httplib2 connections.
list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, readMask=None, x__xgafv=None)
Lists Annotations belongs to a dataitem
+Lists Annotations belongs to a dataitem This RPC is only available in InternalDatasetService. It is only used for exporting conversation data to CCAI Insights.
Retrieves the next page of results.
@@ -96,7 +96,7 @@list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, readMask=None, x__xgafv=None)
- Lists Annotations belongs to a dataitem
+ Lists Annotations belongs to a dataitem This RPC is only available in InternalDatasetService. It is only used for exporting conversation data to CCAI Insights.
Args:
parent: string, Required. The resource name of the DataItem to list Annotations from. Format: `projects/{project}/locations/{location}/datasets/{dataset}/dataItems/{data_item}` (required)
diff --git a/docs/dyn/aiplatform_v1.projects.locations.endpoints.html b/docs/dyn/aiplatform_v1.projects.locations.endpoints.html
index 94540bf191a..9cf1be8300a 100644
--- a/docs/dyn/aiplatform_v1.projects.locations.endpoints.html
+++ b/docs/dyn/aiplatform_v1.projects.locations.endpoints.html
@@ -174,7 +174,7 @@ Method Details
},
"functionResponse": { # The result output from a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function is used as context to the model. This should contain the result of a [FunctionCall] made based on model prediction. # Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model.
"name": "A String", # Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name].
- "response": { # Required. The function response in JSON object format.
+ "response": { # Required. The function response in JSON object format. Use "output" key to specify function output and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as function output.
"a_key": "", # Properties of the object.
},
},
@@ -247,7 +247,7 @@ Method Details
},
"functionResponse": { # The result output from a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function is used as context to the model. This should contain the result of a [FunctionCall] made based on model prediction. # Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model.
"name": "A String", # Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name].
- "response": { # Required. The function response in JSON object format.
+ "response": { # Required. The function response in JSON object format. Use "output" key to specify function output and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as function output.
"a_key": "", # Properties of the object.
},
},
@@ -284,7 +284,7 @@ Method Details
},
"functionResponse": { # The result output from a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function is used as context to the model. This should contain the result of a [FunctionCall] made based on model prediction. # Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model.
"name": "A String", # Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name].
- "response": { # Required. The function response in JSON object format.
+ "response": { # Required. The function response in JSON object format. Use "output" key to specify function output and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as function output.
"a_key": "", # Properties of the object.
},
},
@@ -307,7 +307,35 @@ Method Details
{ # 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.
"description": "A String", # Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function.
"name": "A String", # 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, dots and dashes, with a maximum length of 64.
- "parameters": { # Schema is used to define the format of input/output data. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). More fields may be added in the future as needed. # Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. Parameter names must start with a letter or an underscore and must only contain chars a-z, A-Z, 0-9, or underscores with a maximum length of 64. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1
+ "parameters": { # Schema is used to define the format of input/output data. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema-object). More fields may be added in the future as needed. # Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. Parameter names must start with a letter or an underscore and must only contain chars a-z, A-Z, 0-9, or underscores with a maximum length of 64. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1
+ "default": "", # Optional. Default value of the data.
+ "description": "A String", # Optional. The description of the data.
+ "enum": [ # Optional. Possible values of the element of Type.STRING with enum format. For example we can define an Enum Direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
+ "A String",
+ ],
+ "example": "", # Optional. Example of the object. Will only populated when the object is the root.
+ "format": "A String", # Optional. The format of the data. Supported formats: for NUMBER type: "float", "double" for INTEGER type: "int32", "int64" for STRING type: "email", "byte", etc
+ "items": # Object with schema name: GoogleCloudAiplatformV1Schema # Optional. SCHEMA FIELDS FOR TYPE ARRAY Schema of the elements of Type.ARRAY.
+ "maxItems": "A String", # Optional. Maximum number of the elements for Type.ARRAY.
+ "maxLength": "A String", # Optional. Maximum length of the Type.STRING
+ "maxProperties": "A String", # Optional. Maximum number of the properties for Type.OBJECT.
+ "maximum": 3.14, # Optional. Maximum value of the Type.INTEGER and Type.NUMBER
+ "minItems": "A String", # Optional. Minimum number of the elements for Type.ARRAY.
+ "minLength": "A String", # Optional. SCHEMA FIELDS FOR TYPE STRING Minimum length of the Type.STRING
+ "minProperties": "A String", # Optional. Minimum number of the properties for Type.OBJECT.
+ "minimum": 3.14, # Optional. SCHEMA FIELDS FOR TYPE INTEGER and NUMBER Minimum value of the Type.INTEGER and Type.NUMBER
+ "nullable": True or False, # Optional. Indicates if the value may be null.
+ "pattern": "A String", # Optional. Pattern of the Type.STRING to restrict a string to a regular expression.
+ "properties": { # Optional. SCHEMA FIELDS FOR TYPE OBJECT Properties of Type.OBJECT.
+ "a_key": # Object with schema name: GoogleCloudAiplatformV1Schema
+ },
+ "required": [ # Optional. Required properties of Type.OBJECT.
+ "A String",
+ ],
+ "title": "A String", # Optional. The title of the Schema.
+ "type": "A String", # Optional. The type of the data.
+ },
+ "response": { # Schema is used to define the format of input/output data. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema-object). More fields may be added in the future as needed. # Optional. Describes the output from this function in JSON Schema format. Reflects the Open API 3.03 Response Object. The Schema defines the type used for the response value of the function.
"default": "", # Optional. Default value of the data.
"description": "A String", # Optional. The description of the data.
"enum": [ # Optional. Possible values of the element of Type.STRING with enum format. For example we can define an Enum Direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
@@ -1231,7 +1259,7 @@ Method Details
},
"functionResponse": { # The result output from a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function is used as context to the model. This should contain the result of a [FunctionCall] made based on model prediction. # Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model.
"name": "A String", # Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name].
- "response": { # Required. The function response in JSON object format.
+ "response": { # Required. The function response in JSON object format. Use "output" key to specify function output and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as function output.
"a_key": "", # Properties of the object.
},
},
@@ -1255,7 +1283,7 @@ Method Details
"maxOutputTokens": 42, # Optional. The maximum number of output tokens to generate per message.
"presencePenalty": 3.14, # Optional. Positive penalties.
"responseMimeType": "A String", # Optional. Output response mimetype of the generated candidate text. Supported mimetype: - `text/plain`: (default) Text output. - `application/json`: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature.
- "responseSchema": { # Schema is used to define the format of input/output data. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). More fields may be added in the future as needed. # Optional. The `Schema` object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). If set, a compatible response_mime_type must also be set. Compatible mimetypes: `application/json`: Schema for JSON response.
+ "responseSchema": { # Schema is used to define the format of input/output data. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema-object). More fields may be added in the future as needed. # Optional. The `Schema` object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). If set, a compatible response_mime_type must also be set. Compatible mimetypes: `application/json`: Schema for JSON response.
"default": "", # Optional. Default value of the data.
"description": "A String", # Optional. The description of the data.
"enum": [ # Optional. Possible values of the element of Type.STRING with enum format. For example we can define an Enum Direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
@@ -1321,7 +1349,7 @@ Method Details
},
"functionResponse": { # The result output from a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function is used as context to the model. This should contain the result of a [FunctionCall] made based on model prediction. # Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model.
"name": "A String", # Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name].
- "response": { # Required. The function response in JSON object format.
+ "response": { # Required. The function response in JSON object format. Use "output" key to specify function output and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as function output.
"a_key": "", # Properties of the object.
},
},
@@ -1352,7 +1380,35 @@ Method Details
{ # 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.
"description": "A String", # Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function.
"name": "A String", # 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, dots and dashes, with a maximum length of 64.
- "parameters": { # Schema is used to define the format of input/output data. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). More fields may be added in the future as needed. # Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. Parameter names must start with a letter or an underscore and must only contain chars a-z, A-Z, 0-9, or underscores with a maximum length of 64. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1
+ "parameters": { # Schema is used to define the format of input/output data. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema-object). More fields may be added in the future as needed. # Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. Parameter names must start with a letter or an underscore and must only contain chars a-z, A-Z, 0-9, or underscores with a maximum length of 64. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1
+ "default": "", # Optional. Default value of the data.
+ "description": "A String", # Optional. The description of the data.
+ "enum": [ # Optional. Possible values of the element of Type.STRING with enum format. For example we can define an Enum Direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
+ "A String",
+ ],
+ "example": "", # Optional. Example of the object. Will only populated when the object is the root.
+ "format": "A String", # Optional. The format of the data. Supported formats: for NUMBER type: "float", "double" for INTEGER type: "int32", "int64" for STRING type: "email", "byte", etc
+ "items": # Object with schema name: GoogleCloudAiplatformV1Schema # Optional. SCHEMA FIELDS FOR TYPE ARRAY Schema of the elements of Type.ARRAY.
+ "maxItems": "A String", # Optional. Maximum number of the elements for Type.ARRAY.
+ "maxLength": "A String", # Optional. Maximum length of the Type.STRING
+ "maxProperties": "A String", # Optional. Maximum number of the properties for Type.OBJECT.
+ "maximum": 3.14, # Optional. Maximum value of the Type.INTEGER and Type.NUMBER
+ "minItems": "A String", # Optional. Minimum number of the elements for Type.ARRAY.
+ "minLength": "A String", # Optional. SCHEMA FIELDS FOR TYPE STRING Minimum length of the Type.STRING
+ "minProperties": "A String", # Optional. Minimum number of the properties for Type.OBJECT.
+ "minimum": 3.14, # Optional. SCHEMA FIELDS FOR TYPE INTEGER and NUMBER Minimum value of the Type.INTEGER and Type.NUMBER
+ "nullable": True or False, # Optional. Indicates if the value may be null.
+ "pattern": "A String", # Optional. Pattern of the Type.STRING to restrict a string to a regular expression.
+ "properties": { # Optional. SCHEMA FIELDS FOR TYPE OBJECT Properties of Type.OBJECT.
+ "a_key": # Object with schema name: GoogleCloudAiplatformV1Schema
+ },
+ "required": [ # Optional. Required properties of Type.OBJECT.
+ "A String",
+ ],
+ "title": "A String", # Optional. The title of the Schema.
+ "type": "A String", # Optional. The type of the data.
+ },
+ "response": { # Schema is used to define the format of input/output data. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema-object). More fields may be added in the future as needed. # Optional. Describes the output from this function in JSON Schema format. Reflects the Open API 3.03 Response Object. The Schema defines the type used for the response value of the function.
"default": "", # Optional. Default value of the data.
"description": "A String", # Optional. The description of the data.
"enum": [ # Optional. Possible values of the element of Type.STRING with enum format. For example we can define an Enum Direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}
@@ -1452,7 +1508,7 @@ Method Details
},
"functionResponse": { # The result output from a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function is used as context to the model. This should contain the result of a [FunctionCall] made based on model prediction. # Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model.
"name": "A String", # Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name].
- "response": { # Required. The function response in JSON object format.
+ "response": { # Required. The function response in JSON object format. Use "output" key to specify function output and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as function output.
"a_key": "", # Properties of the object.
},
},
@@ -1538,7 +1594,7 @@ Method Details
"usageMetadata": { # Usage metadata about response(s). # Usage metadata about the response(s).
"candidatesTokenCount": 42, # Number of tokens in the response(s).
"promptTokenCount": 42, # Number of tokens in the request. When `cached_content` is set, this is still the total effective prompt size meaning this includes the number of tokens in the cached content.
- "totalTokenCount": 42,
+ "totalTokenCount": 42, # Total token count for prompt and response candidates.
},
}
Gets details of a single FeatureView.
+
+ getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists FeatureViews in a given FeatureOnlineStore.
@@ -111,9 +114,15 @@
searchNearestEntities(featureView, body=None, x__xgafv=None)
Search the nearest entities under a FeatureView. Search only works for indexable feature view; if a feature view isn't indexable, returns Invalid argument response.
+
+ setIamPolicy(resource, body=None, x__xgafv=None)
Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
sync(featureView, body=None, x__xgafv=None)
Triggers on-demand sync for the FeatureView.
+
+ testIamPermissions(resource, permissions=None, x__xgafv=None)
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
close()
@@ -173,6 +182,10 @@ getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)
+ Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
+
+Args:
+ resource: string, REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. (required)
+ options_requestedPolicyVersion: integer, Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).
+ "bindings": [ # Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
+ { # Associates `members`, or principals, with a `role`.
+ "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
+ "description": "A String", # Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
+ "expression": "A String", # Textual representation of an expression in Common Expression Language syntax.
+ "location": "A String", # Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
+ "title": "A String", # Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
+ },
+ "members": [ # Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
+ "A String",
+ ],
+ "role": "A String", # Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
+ },
+ ],
+ "etag": "A String", # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
+ "version": 42, # Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
}
setIamPolicy(resource, body=None, x__xgafv=None)
+ Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
+
+Args:
+ resource: string, REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # Request message for `SetIamPolicy` method.
+ "policy": { # An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/). # REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them.
+ "bindings": [ # Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
+ { # Associates `members`, or principals, with a `role`.
+ "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
+ "description": "A String", # Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
+ "expression": "A String", # Textual representation of an expression in Common Expression Language syntax.
+ "location": "A String", # Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
+ "title": "A String", # Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
+ },
+ "members": [ # Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
+ "A String",
+ ],
+ "role": "A String", # Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
+ },
+ ],
+ "etag": "A String", # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
+ "version": 42, # Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
+ },
+}
+
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).
+ "bindings": [ # Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
+ { # Associates `members`, or principals, with a `role`.
+ "condition": { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
+ "description": "A String", # Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
+ "expression": "A String", # Textual representation of an expression in Common Expression Language syntax.
+ "location": "A String", # Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
+ "title": "A String", # Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
+ },
+ "members": [ # Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
+ "A String",
+ ],
+ "role": "A String", # Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
+ },
+ ],
+ "etag": "A String", # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
+ "version": 42, # Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
+}
+sync(featureView, body=None, x__xgafv=None)
Triggers on-demand sync for the FeatureView. @@ -705,9 +823,31 @@Method Details
Returns: An object of the form: - { # Respose message for FeatureOnlineStoreAdminService.SyncFeatureView. + { # Response message for FeatureOnlineStoreAdminService.SyncFeatureView. "featureViewSync": "A String", # Format: `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}` }
testIamPermissions(resource, permissions=None, x__xgafv=None)
+ Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
+
+Args:
+ resource: string, REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. (required)
+ permissions: string, The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). (repeated)
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # Response message for `TestIamPermissions` method.
+ "permissions": [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
+ "A String",
+ ],
+}
+