diff --git a/docs/dyn/accessapproval_v1.folders.html b/docs/dyn/accessapproval_v1.folders.html index 9beeacc5cf..23bb111756 100644 --- a/docs/dyn/accessapproval_v1.folders.html +++ b/docs/dyn/accessapproval_v1.folders.html @@ -135,6 +135,12 @@
Close httplib2 connections.
+
+ defer(packageName, token, body=None, x__xgafv=None)
Defers the renewal of a subscription.
get(packageName, token, x__xgafv=None)
Get metadata about a subscription
@@ -120,6 +123,42 @@Close httplib2 connections.+
defer(packageName, token, body=None, x__xgafv=None)
+ Defers the renewal of a subscription.
+
+Args:
+ packageName: string, Required. The package of the application for which this subscription was purchased (for example, 'com.some.thing'). (required)
+ token: string, Required. The token provided to the user's device when the subscription was purchased. (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # Request for the v2 purchases.subscriptions.defer API.
+ "deferralContext": { # Deferral context of the purchases.subscriptionsv2.defer API. # Required. Details about the subscription deferral.
+ "deferDuration": "A String", # Required. The duration by which all subscription items should be deferred.
+ "etag": "A String", # Required. The API will fail if the etag does not match the latest etag for this subscription. The etag is retrieved from purchases.subscriptionsv2.get: https://developers.google.com/android-publisher/api-ref/rest/v3/purchases.subscriptionsv2/get
+ "validateOnly": True or False, # If set to "true", the request is a dry run to validate the effect of Defer, the subscription would not be impacted.
+ },
+}
+
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # Response for the v2 purchases.subscriptions.defer API.
+ "itemExpiryTimeDetails": [ # The new expiry time for each subscription items.
+ { # Expiry time details of a subscription item.
+ "expiryTime": "A String", # The new expiry time for this subscription item.
+ "productId": "A String", # The product ID of the subscription item (for example, 'premium_plan').
+ },
+ ],
+}
+get(packageName, token, x__xgafv=None)
Get metadata about a subscription @@ -152,6 +191,7 @@Method Details
"cancelTime": "A String", # The time at which the subscription was canceled by the user. The user might still have access to the subscription after this time. Use line_items.expiry_time to determine if a user still has access. }, }, + "etag": "A String", # Entity tag representing the current state of the subscription. The developer will provide this etag for subscription actions. This etag is always present for auto-renewing and prepaid subscriptions. "externalAccountIdentifiers": { # User account identifier in the third-party service. # User account identifier in the third-party service. "externalAccountId": "A String", # User account identifier in the third-party service. Only present if account linking happened as part of the subscription purchase flow. "obfuscatedExternalAccountId": "A String", # An obfuscated version of the id that is uniquely associated with the user's account in your app. Present for the following purchases: * If account linking happened as part of the subscription purchase flow. * It was specified using https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedaccountid when the purchase was made. @@ -215,6 +255,17 @@Method Details
"A String", ], }, + "offerPhase": { # Offer phase details. # Current offer phase details for this item. + "basePrice": { # Details about base price offer phase. # Set when the offer phase is a base plan pricing phase. + }, + "freeTrial": { # Details about free trial offer phase. # Set when the offer phase is a free trial. + }, + "introductoryPrice": { # Details about introductory price offer phase. # Set when the offer phase is an introductory price offer phase. + }, + "prorationPeriod": { # Details about proration period offer phase. # Set when the offer phase is a proration period. + "originalOfferPhaseType": "A String", # The original offer phase type before the proration period. Only set when the proration period is updated from an existing offer phase. + }, + }, "prepaidPlan": { # Information related to a prepaid plan. # The item is prepaid. "allowExtendAfterTime": "A String", # If present, this is the time after which top up purchases are allowed for the prepaid plan. Will not be present for expired prepaid plans. }, diff --git a/docs/dyn/appengine_v1.apps.locations.html b/docs/dyn/appengine_v1.apps.locations.html index e024b9e17c..5a2a1ef099 100644 --- a/docs/dyn/appengine_v1.apps.locations.html +++ b/docs/dyn/appengine_v1.apps.locations.html @@ -82,7 +82,7 @@Instance Methods
Gets information about a location.
-
list(appsId, extraLocationTypes=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)Lists information about the supported locations for this service.
+Lists information about the supported locations for this service. This method can be called in two ways: List all public locations: Use the path GET /v1/locations. List project-visible locations: Use the path GET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project.
Retrieves the next page of results.
@@ -122,7 +122,7 @@Method Details
list(appsId, extraLocationTypes=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)-Lists information about the supported locations for this service. +Lists information about the supported locations for this service. This method can be called in two ways: List all public locations: Use the path GET /v1/locations. List project-visible locations: Use the path GET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project. Args: appsId: string, Part of `name`. The resource that owns the locations collection, if applicable. (required) diff --git a/docs/dyn/appengine_v1alpha.apps.locations.html b/docs/dyn/appengine_v1alpha.apps.locations.html index 3e914f324c..66b75aae6b 100644 --- a/docs/dyn/appengine_v1alpha.apps.locations.html +++ b/docs/dyn/appengine_v1alpha.apps.locations.html @@ -82,7 +82,7 @@Instance Methods
Gets information about a location.
-
list(appsId, extraLocationTypes=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)Lists information about the supported locations for this service.
+Lists information about the supported locations for this service. This method can be called in two ways: List all public locations: Use the path GET /v1/locations. List project-visible locations: Use the path GET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project.
Retrieves the next page of results.
@@ -122,7 +122,7 @@Method Details
list(appsId, extraLocationTypes=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)-Lists information about the supported locations for this service. +Lists information about the supported locations for this service. This method can be called in two ways: List all public locations: Use the path GET /v1/locations. List project-visible locations: Use the path GET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project. Args: appsId: string, Part of `name`. The resource that owns the locations collection, if applicable. (required) diff --git a/docs/dyn/appengine_v1alpha.projects.locations.html b/docs/dyn/appengine_v1alpha.projects.locations.html index d632a7d565..b684501c87 100644 --- a/docs/dyn/appengine_v1alpha.projects.locations.html +++ b/docs/dyn/appengine_v1alpha.projects.locations.html @@ -92,7 +92,7 @@Instance Methods
Gets information about a location.
-
list(projectsId, extraLocationTypes=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)Lists information about the supported locations for this service.
+Lists information about the supported locations for this service. This method can be called in two ways: List all public locations: Use the path GET /v1/locations. List project-visible locations: Use the path GET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project.
Retrieves the next page of results.
@@ -132,7 +132,7 @@Method Details
list(projectsId, extraLocationTypes=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)-Lists information about the supported locations for this service. +Lists information about the supported locations for this service. This method can be called in two ways: List all public locations: Use the path GET /v1/locations. List project-visible locations: Use the path GET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project. Args: projectsId: string, Part of `name`. The resource that owns the locations collection, if applicable. (required) diff --git a/docs/dyn/appengine_v1beta.apps.locations.html b/docs/dyn/appengine_v1beta.apps.locations.html index 4d7db2e30d..626deae627 100644 --- a/docs/dyn/appengine_v1beta.apps.locations.html +++ b/docs/dyn/appengine_v1beta.apps.locations.html @@ -82,7 +82,7 @@Instance Methods
Gets information about a location.
-
list(appsId, extraLocationTypes=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)Lists information about the supported locations for this service.
+Lists information about the supported locations for this service. This method can be called in two ways: List all public locations: Use the path GET /v1/locations. List project-visible locations: Use the path GET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project.
Retrieves the next page of results.
@@ -122,7 +122,7 @@Method Details
+list(appsId, extraLocationTypes=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)-Lists information about the supported locations for this service. +Lists information about the supported locations for this service. This method can be called in two ways: List all public locations: Use the path GET /v1/locations. List project-visible locations: Use the path GET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project. Args: appsId: string, Part of `name`. The resource that owns the locations collection, if applicable. (required) diff --git a/docs/dyn/appengine_v1beta.projects.locations.html b/docs/dyn/appengine_v1beta.projects.locations.html index 25241aee03..775589ac23 100644 --- a/docs/dyn/appengine_v1beta.projects.locations.html +++ b/docs/dyn/appengine_v1beta.projects.locations.html @@ -92,7 +92,7 @@Instance Methods
Gets information about a location.
-
list(projectsId, extraLocationTypes=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)Lists information about the supported locations for this service.
+Lists information about the supported locations for this service. This method can be called in two ways: List all public locations: Use the path GET /v1/locations. List project-visible locations: Use the path GET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project.
Retrieves the next page of results.
@@ -132,7 +132,7 @@Method Details
list(projectsId, extraLocationTypes=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)-Lists information about the supported locations for this service. +Lists information about the supported locations for this service. This method can be called in two ways: List all public locations: Use the path GET /v1/locations. List project-visible locations: Use the path GET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project. Args: projectsId: string, Part of `name`. The resource that owns the locations collection, if applicable. (required) diff --git a/docs/dyn/cloudbuild_v2.projects.locations.html b/docs/dyn/cloudbuild_v2.projects.locations.html index 61128fb3c0..d038dfd4ea 100644 --- a/docs/dyn/cloudbuild_v2.projects.locations.html +++ b/docs/dyn/cloudbuild_v2.projects.locations.html @@ -92,7 +92,7 @@Instance Methods
Gets information about a location.
-
list(name, extraLocationTypes=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)Lists information about the supported locations for this service.
+Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.
Retrieves the next page of results.
@@ -131,7 +131,7 @@Method Details
@@ -6388,6 +6416,10 @@list(name, extraLocationTypes=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)-Lists information about the supported locations for this service. +Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project. Args: name: string, The resource that owns the locations collection, if applicable. (required) diff --git a/docs/dyn/composer_v1.projects.locations.environments.html b/docs/dyn/composer_v1.projects.locations.environments.html index f40250a7b7..568dfde3dd 100644 --- a/docs/dyn/composer_v1.projects.locations.environments.html +++ b/docs/dyn/composer_v1.projects.locations.environments.html @@ -262,7 +262,7 @@Method Details
"cloudComposerNetworkIpv4ReservedRange": "A String", # Output only. The IP range reserved for the tenant project's Cloud Composer network. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. "cloudSqlIpv4CidrBlock": "A String", # Optional. The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`. "enablePrivateBuildsOnly": True or False, # Optional. If `true`, builds performed during operations that install Python packages have only private connectivity to Google services (including Artifact Registry) and VPC network (if either `NodeConfig.network` and `NodeConfig.subnetwork` fields or `NodeConfig.composer_network_attachment` field are specified). If `false`, the builds also have access to the internet. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. - "enablePrivateEnvironment": True or False, # Optional. If `true`, a Private IP Cloud Composer environment is created. If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. + "enablePrivateEnvironment": True or False, # Optional. If `true`, a Private IP Cloud Composer environment is created. If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. This field is going to be deprecated. Use `networking_type` instead. "enablePrivatelyUsedPublicIps": True or False, # Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for `IPAllocationPolicy.cluster_ipv4_cidr_block` and `IPAllocationPolicy.service_ipv4_cidr_block`. "networkingConfig": { # Configuration options for networking connections in the Composer 2 environment. # Optional. Configuration for the network connections configuration in the environment. "connectionType": "A String", # Optional. Indicates the user requested specific connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment. @@ -601,7 +601,7 @@Method Details
"cloudComposerNetworkIpv4ReservedRange": "A String", # Output only. The IP range reserved for the tenant project's Cloud Composer network. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. "cloudSqlIpv4CidrBlock": "A String", # Optional. The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`. "enablePrivateBuildsOnly": True or False, # Optional. If `true`, builds performed during operations that install Python packages have only private connectivity to Google services (including Artifact Registry) and VPC network (if either `NodeConfig.network` and `NodeConfig.subnetwork` fields or `NodeConfig.composer_network_attachment` field are specified). If `false`, the builds also have access to the internet. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. - "enablePrivateEnvironment": True or False, # Optional. If `true`, a Private IP Cloud Composer environment is created. If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. + "enablePrivateEnvironment": True or False, # Optional. If `true`, a Private IP Cloud Composer environment is created. If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. This field is going to be deprecated. Use `networking_type` instead. "enablePrivatelyUsedPublicIps": True or False, # Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for `IPAllocationPolicy.cluster_ipv4_cidr_block` and `IPAllocationPolicy.service_ipv4_cidr_block`. "networkingConfig": { # Configuration options for networking connections in the Composer 2 environment. # Optional. Configuration for the network connections configuration in the environment. "connectionType": "A String", # Optional. Indicates the user requested specific connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment. @@ -786,7 +786,7 @@Method Details
"cloudComposerNetworkIpv4ReservedRange": "A String", # Output only. The IP range reserved for the tenant project's Cloud Composer network. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. "cloudSqlIpv4CidrBlock": "A String", # Optional. The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`. "enablePrivateBuildsOnly": True or False, # Optional. If `true`, builds performed during operations that install Python packages have only private connectivity to Google services (including Artifact Registry) and VPC network (if either `NodeConfig.network` and `NodeConfig.subnetwork` fields or `NodeConfig.composer_network_attachment` field are specified). If `false`, the builds also have access to the internet. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. - "enablePrivateEnvironment": True or False, # Optional. If `true`, a Private IP Cloud Composer environment is created. If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. + "enablePrivateEnvironment": True or False, # Optional. If `true`, a Private IP Cloud Composer environment is created. If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. This field is going to be deprecated. Use `networking_type` instead. "enablePrivatelyUsedPublicIps": True or False, # Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for `IPAllocationPolicy.cluster_ipv4_cidr_block` and `IPAllocationPolicy.service_ipv4_cidr_block`. "networkingConfig": { # Configuration options for networking connections in the Composer 2 environment. # Optional. Configuration for the network connections configuration in the environment. "connectionType": "A String", # Optional. Indicates the user requested specific connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment. @@ -1025,7 +1025,7 @@Method Details
"cloudComposerNetworkIpv4ReservedRange": "A String", # Output only. The IP range reserved for the tenant project's Cloud Composer network. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. "cloudSqlIpv4CidrBlock": "A String", # Optional. The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`. "enablePrivateBuildsOnly": True or False, # Optional. If `true`, builds performed during operations that install Python packages have only private connectivity to Google services (including Artifact Registry) and VPC network (if either `NodeConfig.network` and `NodeConfig.subnetwork` fields or `NodeConfig.composer_network_attachment` field are specified). If `false`, the builds also have access to the internet. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. - "enablePrivateEnvironment": True or False, # Optional. If `true`, a Private IP Cloud Composer environment is created. If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. + "enablePrivateEnvironment": True or False, # Optional. If `true`, a Private IP Cloud Composer environment is created. If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. This field is going to be deprecated. Use `networking_type` instead. "enablePrivatelyUsedPublicIps": True or False, # Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for `IPAllocationPolicy.cluster_ipv4_cidr_block` and `IPAllocationPolicy.service_ipv4_cidr_block`. "networkingConfig": { # Configuration options for networking connections in the Composer 2 environment. # Optional. Configuration for the network connections configuration in the environment. "connectionType": "A String", # Optional. Indicates the user requested specific connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment. diff --git a/docs/dyn/composer_v1beta1.projects.locations.environments.html b/docs/dyn/composer_v1beta1.projects.locations.environments.html index 79ed75f3a1..85ab6dfa1c 100644 --- a/docs/dyn/composer_v1beta1.projects.locations.environments.html +++ b/docs/dyn/composer_v1beta1.projects.locations.environments.html @@ -264,7 +264,7 @@Method Details
"cloudComposerNetworkIpv4ReservedRange": "A String", # Output only. The IP range reserved for the tenant project's Cloud Composer network. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. "cloudSqlIpv4CidrBlock": "A String", # Optional. The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block "enablePrivateBuildsOnly": True or False, # Optional. If `true`, builds performed during operations that install Python packages have only private connectivity to Google services (including Artifact Registry) and VPC network (if either `NodeConfig.network` and `NodeConfig.subnetwork` fields or `NodeConfig.composer_network_attachment` field are specified). If `false`, the builds also have access to the internet. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. - "enablePrivateEnvironment": True or False, # Optional. If `true`, a Private IP Cloud Composer environment is created. If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. + "enablePrivateEnvironment": True or False, # Optional. If `true`, a Private IP Cloud Composer environment is created. If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. This field is going to be deprecated. Use `networking_type` instead. "enablePrivatelyUsedPublicIps": True or False, # Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for `IPAllocationPolicy.cluster_ipv4_cidr_block` and `IPAllocationPolicy.service_ipv4_cidr_block`. "networkingConfig": { # Configuration options for networking connections in the Composer 2 environment. # Optional. Configuration for the network connections configuration in the environment. "connectionType": "A String", # Optional. Indicates the user requested specific connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment. @@ -605,7 +605,7 @@Method Details
"cloudComposerNetworkIpv4ReservedRange": "A String", # Output only. The IP range reserved for the tenant project's Cloud Composer network. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. "cloudSqlIpv4CidrBlock": "A String", # Optional. The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block "enablePrivateBuildsOnly": True or False, # Optional. If `true`, builds performed during operations that install Python packages have only private connectivity to Google services (including Artifact Registry) and VPC network (if either `NodeConfig.network` and `NodeConfig.subnetwork` fields or `NodeConfig.composer_network_attachment` field are specified). If `false`, the builds also have access to the internet. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. - "enablePrivateEnvironment": True or False, # Optional. If `true`, a Private IP Cloud Composer environment is created. If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. + "enablePrivateEnvironment": True or False, # Optional. If `true`, a Private IP Cloud Composer environment is created. If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. This field is going to be deprecated. Use `networking_type` instead. "enablePrivatelyUsedPublicIps": True or False, # Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for `IPAllocationPolicy.cluster_ipv4_cidr_block` and `IPAllocationPolicy.service_ipv4_cidr_block`. "networkingConfig": { # Configuration options for networking connections in the Composer 2 environment. # Optional. Configuration for the network connections configuration in the environment. "connectionType": "A String", # Optional. Indicates the user requested specific connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment. @@ -792,7 +792,7 @@Method Details
"cloudComposerNetworkIpv4ReservedRange": "A String", # Output only. The IP range reserved for the tenant project's Cloud Composer network. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. "cloudSqlIpv4CidrBlock": "A String", # Optional. The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block "enablePrivateBuildsOnly": True or False, # Optional. If `true`, builds performed during operations that install Python packages have only private connectivity to Google services (including Artifact Registry) and VPC network (if either `NodeConfig.network` and `NodeConfig.subnetwork` fields or `NodeConfig.composer_network_attachment` field are specified). If `false`, the builds also have access to the internet. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. - "enablePrivateEnvironment": True or False, # Optional. If `true`, a Private IP Cloud Composer environment is created. If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. + "enablePrivateEnvironment": True or False, # Optional. If `true`, a Private IP Cloud Composer environment is created. If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. This field is going to be deprecated. Use `networking_type` instead. "enablePrivatelyUsedPublicIps": True or False, # Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for `IPAllocationPolicy.cluster_ipv4_cidr_block` and `IPAllocationPolicy.service_ipv4_cidr_block`. "networkingConfig": { # Configuration options for networking connections in the Composer 2 environment. # Optional. Configuration for the network connections configuration in the environment. "connectionType": "A String", # Optional. Indicates the user requested specific connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment. @@ -1033,7 +1033,7 @@Method Details
"cloudComposerNetworkIpv4ReservedRange": "A String", # Output only. The IP range reserved for the tenant project's Cloud Composer network. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. "cloudSqlIpv4CidrBlock": "A String", # Optional. The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block "enablePrivateBuildsOnly": True or False, # Optional. If `true`, builds performed during operations that install Python packages have only private connectivity to Google services (including Artifact Registry) and VPC network (if either `NodeConfig.network` and `NodeConfig.subnetwork` fields or `NodeConfig.composer_network_attachment` field are specified). If `false`, the builds also have access to the internet. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. - "enablePrivateEnvironment": True or False, # Optional. If `true`, a Private IP Cloud Composer environment is created. If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. + "enablePrivateEnvironment": True or False, # Optional. If `true`, a Private IP Cloud Composer environment is created. If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. This field is going to be deprecated. Use `networking_type` instead. "enablePrivatelyUsedPublicIps": True or False, # Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for `IPAllocationPolicy.cluster_ipv4_cidr_block` and `IPAllocationPolicy.service_ipv4_cidr_block`. "networkingConfig": { # Configuration options for networking connections in the Composer 2 environment. # Optional. Configuration for the network connections configuration in the environment. "connectionType": "A String", # Optional. Indicates the user requested specific connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment. diff --git a/docs/dyn/compute_alpha.advice.html b/docs/dyn/compute_alpha.advice.html index 694f3045de..a6e4222681 100644 --- a/docs/dyn/compute_alpha.advice.html +++ b/docs/dyn/compute_alpha.advice.html @@ -141,11 +141,9 @@Method Details
# Use for GPU reservations. }, }, - "timeRangeSpec": { # A flexible specification of a time range that has 3 points of # Specification of a time range in which the resources may be created. + "timeRangeSpec": { # Specifies a flexible time range with flexible start time and duration. # Specification of a time range in which the resources may be created. # The time range specifies start of resource use and planned end of resource # use. - # flexibility: (1) a flexible start time, (2) a flexible end time, (3) a - # flexible duration. # # It is possible to specify a contradictory time range that cannot be matched # by any Interval. This causes a validation error. @@ -225,7 +223,7 @@Method Details
"distributionPolicy": { # Policy specifying the distribution of instances across # zones within the requested region. "targetShape": "A String", # The distribution shape to which the group converges. - # You can only specify the following values: ANY,ANY_SINGLE_ZONE. + # You can only specify the following values: ANY,ANY_SINGLE_ZONE,BALANCED. "zones": [ # Zones where Capacity Advisor looks for capacity. { "zone": "A String", # The URL of the zone. It can be a diff --git a/docs/dyn/compute_alpha.backendServices.html b/docs/dyn/compute_alpha.backendServices.html index 24fd752047..8ca3bc2ebe 100644 --- a/docs/dyn/compute_alpha.backendServices.html +++ b/docs/dyn/compute_alpha.backendServices.html @@ -1036,6 +1036,10 @@Method Details
"dynamicForwarding": { # Defines a dynamic forwarding configuration for the backend service. # Dynamic forwarding configuration. This field is used to configure the # backend service with dynamic forwarding feature which together with Service # Extension allows customized and complex routing logic. + "forwardProxy": { # Defines Dynamic Forwarding Proxy configuration. # Dynamic Forwarding Proxy configuration. + "enabled": True or False, # A boolean flag enabling dynamic forwarding proxy. + "proxyMode": "A String", # Determines the dynamic forwarding proxy mode. + }, "ipPortSelection": { # Defines a IP:PORT based dynamic forwarding configuration for the backend # IP:PORT based dynamic forwarding configuration. # service. Some ranges are restricted: Restricted # ranges. @@ -2286,6 +2290,16 @@Method Details
# and ForwardingRule. }, ], + "vpcNetworkScope": "A String", # The network scope of the backends that can be added to the backend + # service. This field can be either GLOBAL_VPC_NETWORK orREGIONAL_VPC_NETWORK. + # + # A backend service with the VPC scope set to GLOBAL_VPC_NETWORK + # is only allowed to have backends in global VPC networks. + # + # When the VPC scope is set to REGIONAL_VPC_NETWORK the backend + # service is only allowed to have backends in regional networks in the same + # scope as the backend service. + # Note: if not specified then GLOBAL_VPC_NETWORK will be used. }, ], "warning": { # Informational warning which replaces the list of @@ -3439,6 +3453,10 @@Method Details
"dynamicForwarding": { # Defines a dynamic forwarding configuration for the backend service. # Dynamic forwarding configuration. This field is used to configure the # backend service with dynamic forwarding feature which together with Service # Extension allows customized and complex routing logic. + "forwardProxy": { # Defines Dynamic Forwarding Proxy configuration. # Dynamic Forwarding Proxy configuration. + "enabled": True or False, # A boolean flag enabling dynamic forwarding proxy. + "proxyMode": "A String", # Determines the dynamic forwarding proxy mode. + }, "ipPortSelection": { # Defines a IP:PORT based dynamic forwarding configuration for the backend # IP:PORT based dynamic forwarding configuration. # service. Some ranges are restricted: Restricted # ranges. @@ -4689,6 +4707,16 @@Method Details
# and ForwardingRule. }, ], + "vpcNetworkScope": "A String", # The network scope of the backends that can be added to the backend + # service. This field can be either GLOBAL_VPC_NETWORK orREGIONAL_VPC_NETWORK. + # + # A backend service with the VPC scope set to GLOBAL_VPC_NETWORK + # is only allowed to have backends in global VPC networks. + # + # When the VPC scope is set to REGIONAL_VPC_NETWORK the backend + # service is only allowed to have backends in regional networks in the same + # scope as the backend service. + # Note: if not specified then GLOBAL_VPC_NETWORK will be used. }Method Details
"dynamicForwarding": { # Defines a dynamic forwarding configuration for the backend service. # Dynamic forwarding configuration. This field is used to configure the # backend service with dynamic forwarding feature which together with Service # Extension allows customized and complex routing logic. + "forwardProxy": { # Defines Dynamic Forwarding Proxy configuration. # Dynamic Forwarding Proxy configuration. + "enabled": True or False, # A boolean flag enabling dynamic forwarding proxy. + "proxyMode": "A String", # Determines the dynamic forwarding proxy mode. + }, "ipPortSelection": { # Defines a IP:PORT based dynamic forwarding configuration for the backend # IP:PORT based dynamic forwarding configuration. # service. Some ranges are restricted: Restricted # ranges. @@ -7638,6 +7670,16 @@Method Details
# and ForwardingRule. }, ], + "vpcNetworkScope": "A String", # The network scope of the backends that can be added to the backend + # service. This field can be either GLOBAL_VPC_NETWORK orREGIONAL_VPC_NETWORK. + # + # A backend service with the VPC scope set to GLOBAL_VPC_NETWORK + # is only allowed to have backends in global VPC networks. + # + # When the VPC scope is set to REGIONAL_VPC_NETWORK the backend + # service is only allowed to have backends in regional networks in the same + # scope as the backend service. + # Note: if not specified then GLOBAL_VPC_NETWORK will be used. } requestId: string, An optional request ID to identify requests. Specify a unique request ID so @@ -8501,6 +8543,10 @@Method Details
"dynamicForwarding": { # Defines a dynamic forwarding configuration for the backend service. # Dynamic forwarding configuration. This field is used to configure the # backend service with dynamic forwarding feature which together with Service # Extension allows customized and complex routing logic. + "forwardProxy": { # Defines Dynamic Forwarding Proxy configuration. # Dynamic Forwarding Proxy configuration. + "enabled": True or False, # A boolean flag enabling dynamic forwarding proxy. + "proxyMode": "A String", # Determines the dynamic forwarding proxy mode. + }, "ipPortSelection": { # Defines a IP:PORT based dynamic forwarding configuration for the backend # IP:PORT based dynamic forwarding configuration. # service. Some ranges are restricted: Restricted # ranges. @@ -9751,6 +9797,16 @@Method Details
# and ForwardingRule. }, ], + "vpcNetworkScope": "A String", # The network scope of the backends that can be added to the backend + # service. This field can be either GLOBAL_VPC_NETWORK orREGIONAL_VPC_NETWORK. + # + # A backend service with the VPC scope set to GLOBAL_VPC_NETWORK + # is only allowed to have backends in global VPC networks. + # + # When the VPC scope is set to REGIONAL_VPC_NETWORK the backend + # service is only allowed to have backends in regional networks in the same + # scope as the backend service. + # Note: if not specified then GLOBAL_VPC_NETWORK will be used. }, ], "kind": "compute#backendServiceList", # Output only. [Output Only] Type of resource. Alwayscompute#backendServiceList for lists of backend services. @@ -10374,6 +10430,10 @@Method Details
"dynamicForwarding": { # Defines a dynamic forwarding configuration for the backend service. # Dynamic forwarding configuration. This field is used to configure the # backend service with dynamic forwarding feature which together with Service # Extension allows customized and complex routing logic. + "forwardProxy": { # Defines Dynamic Forwarding Proxy configuration. # Dynamic Forwarding Proxy configuration. + "enabled": True or False, # A boolean flag enabling dynamic forwarding proxy. + "proxyMode": "A String", # Determines the dynamic forwarding proxy mode. + }, "ipPortSelection": { # Defines a IP:PORT based dynamic forwarding configuration for the backend # IP:PORT based dynamic forwarding configuration. # service. Some ranges are restricted: Restricted # ranges. @@ -11624,6 +11684,16 @@Method Details
# and ForwardingRule. }, ], + "vpcNetworkScope": "A String", # The network scope of the backends that can be added to the backend + # service. This field can be either GLOBAL_VPC_NETWORK orREGIONAL_VPC_NETWORK. + # + # A backend service with the VPC scope set to GLOBAL_VPC_NETWORK + # is only allowed to have backends in global VPC networks. + # + # When the VPC scope is set to REGIONAL_VPC_NETWORK the backend + # service is only allowed to have backends in regional networks in the same + # scope as the backend service. + # Note: if not specified then GLOBAL_VPC_NETWORK will be used. }, ], "kind": "compute#usableBackendServiceList", # Output only. [Output Only] Type of resource. Alwayscompute#usableBackendServiceList for lists of usable backend @@ -12190,6 +12260,10 @@Method Details
"dynamicForwarding": { # Defines a dynamic forwarding configuration for the backend service. # Dynamic forwarding configuration. This field is used to configure the # backend service with dynamic forwarding feature which together with Service # Extension allows customized and complex routing logic. + "forwardProxy": { # Defines Dynamic Forwarding Proxy configuration. # Dynamic Forwarding Proxy configuration. + "enabled": True or False, # A boolean flag enabling dynamic forwarding proxy. + "proxyMode": "A String", # Determines the dynamic forwarding proxy mode. + }, "ipPortSelection": { # Defines a IP:PORT based dynamic forwarding configuration for the backend # IP:PORT based dynamic forwarding configuration. # service. Some ranges are restricted: Restricted # ranges. @@ -13440,6 +13514,16 @@Method Details
# and ForwardingRule. }, ], + "vpcNetworkScope": "A String", # The network scope of the backends that can be added to the backend + # service. This field can be either GLOBAL_VPC_NETWORK orREGIONAL_VPC_NETWORK. + # + # A backend service with the VPC scope set to GLOBAL_VPC_NETWORK + # is only allowed to have backends in global VPC networks. + # + # When the VPC scope is set to REGIONAL_VPC_NETWORK the backend + # service is only allowed to have backends in regional networks in the same + # scope as the backend service. + # Note: if not specified then GLOBAL_VPC_NETWORK will be used. } requestId: string, An optional request ID to identify requests. Specify a unique request ID so @@ -15701,6 +15785,10 @@Method Details
"dynamicForwarding": { # Defines a dynamic forwarding configuration for the backend service. # Dynamic forwarding configuration. This field is used to configure the # backend service with dynamic forwarding feature which together with Service # Extension allows customized and complex routing logic. + "forwardProxy": { # Defines Dynamic Forwarding Proxy configuration. # Dynamic Forwarding Proxy configuration. + "enabled": True or False, # A boolean flag enabling dynamic forwarding proxy. + "proxyMode": "A String", # Determines the dynamic forwarding proxy mode. + }, "ipPortSelection": { # Defines a IP:PORT based dynamic forwarding configuration for the backend # IP:PORT based dynamic forwarding configuration. # service. Some ranges are restricted: Restricted # ranges. @@ -16951,6 +17039,16 @@Method Details
# and ForwardingRule. }, ], + "vpcNetworkScope": "A String", # The network scope of the backends that can be added to the backend + # service. This field can be either GLOBAL_VPC_NETWORK orREGIONAL_VPC_NETWORK. + # + # A backend service with the VPC scope set to GLOBAL_VPC_NETWORK + # is only allowed to have backends in global VPC networks. + # + # When the VPC scope is set to REGIONAL_VPC_NETWORK the backend + # service is only allowed to have backends in regional networks in the same + # scope as the backend service. + # Note: if not specified then GLOBAL_VPC_NETWORK will be used. } requestId: string, An optional request ID to identify requests. Specify a unique request ID so diff --git a/docs/dyn/compute_alpha.forwardingRules.html b/docs/dyn/compute_alpha.forwardingRules.html index 68bdc275f2..9ca6e736bb 100644 --- a/docs/dyn/compute_alpha.forwardingRules.html +++ b/docs/dyn/compute_alpha.forwardingRules.html @@ -87,7 +87,7 @@Instance Methods
delete(project, region, forwardingRule, requestId=None, x__xgafv=None)Deletes the specified ForwardingRule resource.
-
+get(project, region, forwardingRule, x__xgafv=None)get(project, region, forwardingRule, view=None, x__xgafv=None)Returns the specified ForwardingRule resource.
@@ -315,14 +315,11 @@
insert(project, region, body=None, requestId=None, x__xgafv=None)Method Details
# cannot be changed after the forwarding rule is created. "allowPscGlobalAccess": True or False, # This is used in PSC consumer ForwardingRule to control whether the PSC # endpoint can be accessed from another region. - "allowPscPacketInjection": True or False, # This is used in PSC consumer ForwardingRule to control whether the producer - # is allowed to inject packets into the consumer's network. If set to true, - # the target service attachment must have tunneling enabled and - # TunnelingConfig.RoutingMode set to PACKET_INJECTION - # Non-PSC forwarding rules should not use this field. - # - # This field was never released to any customers and is deprecated and - # will be removed in the future. + "attachedExtensions": [ # Output only. [Output Only]. The extensions that are attached to this ForwardingRule. + { # Reference to an extension resource that is attached to this ForwardingRule. + "reference": "A String", # Output only. The resource name. + }, + ], "availabilityGroup": "A String", # [Output Only] Specifies the availability group of the forwarding rule. This # field is for use by global external passthrough load balancers (load # balancing scheme EXTERNAL_PASSTHROUGH) and is set for the child forwarding @@ -1007,13 +1004,18 @@Method Details
-get(project, region, forwardingRule, x__xgafv=None)+get(project, region, forwardingRule, view=None, x__xgafv=None)Returns the specified ForwardingRule resource. Args: project: string, Project ID for this request. (required) region: string, Name of the region scoping this request. (required) forwardingRule: string, Name of the ForwardingRule resource to return. (required) + view: string, A parameter + Allowed values + BASIC - The default view of a ForwardingRule, which includes the basic fields. + FORWARDING_RULE_VIEW_UNSPECIFIED - The default / unset value. The API will default to the BASIC view. + FULL - The full view, including the ForwardingRule.`attached_extensions` field. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format @@ -1112,14 +1114,11 @@Method Details
# cannot be changed after the forwarding rule is created. "allowPscGlobalAccess": True or False, # This is used in PSC consumer ForwardingRule to control whether the PSC # endpoint can be accessed from another region. - "allowPscPacketInjection": True or False, # This is used in PSC consumer ForwardingRule to control whether the producer - # is allowed to inject packets into the consumer's network. If set to true, - # the target service attachment must have tunneling enabled and - # TunnelingConfig.RoutingMode set to PACKET_INJECTION - # Non-PSC forwarding rules should not use this field. - # - # This field was never released to any customers and is deprecated and - # will be removed in the future. + "attachedExtensions": [ # Output only. [Output Only]. The extensions that are attached to this ForwardingRule. + { # Reference to an extension resource that is attached to this ForwardingRule. + "reference": "A String", # Output only. The resource name. + }, + ], "availabilityGroup": "A String", # [Output Only] Specifies the availability group of the forwarding rule. This # field is for use by global external passthrough load balancers (load # balancing scheme EXTERNAL_PASSTHROUGH) and is set for the child forwarding @@ -1538,14 +1537,11 @@Method Details
# cannot be changed after the forwarding rule is created. "allowPscGlobalAccess": True or False, # This is used in PSC consumer ForwardingRule to control whether the PSC # endpoint can be accessed from another region. - "allowPscPacketInjection": True or False, # This is used in PSC consumer ForwardingRule to control whether the producer - # is allowed to inject packets into the consumer's network. If set to true, - # the target service attachment must have tunneling enabled and - # TunnelingConfig.RoutingMode set to PACKET_INJECTION - # Non-PSC forwarding rules should not use this field. - # - # This field was never released to any customers and is deprecated and - # will be removed in the future. + "attachedExtensions": [ # Output only. [Output Only]. The extensions that are attached to this ForwardingRule. + { # Reference to an extension resource that is attached to this ForwardingRule. + "reference": "A String", # Output only. The resource name. + }, + ], "availabilityGroup": "A String", # [Output Only] Specifies the availability group of the forwarding rule. This # field is for use by global external passthrough load balancers (load # balancing scheme EXTERNAL_PASSTHROUGH) and is set for the child forwarding @@ -2328,14 +2324,11 @@Method Details
# cannot be changed after the forwarding rule is created. "allowPscGlobalAccess": True or False, # This is used in PSC consumer ForwardingRule to control whether the PSC # endpoint can be accessed from another region. - "allowPscPacketInjection": True or False, # This is used in PSC consumer ForwardingRule to control whether the producer - # is allowed to inject packets into the consumer's network. If set to true, - # the target service attachment must have tunneling enabled and - # TunnelingConfig.RoutingMode set to PACKET_INJECTION - # Non-PSC forwarding rules should not use this field. - # - # This field was never released to any customers and is deprecated and - # will be removed in the future. + "attachedExtensions": [ # Output only. [Output Only]. The extensions that are attached to this ForwardingRule. + { # Reference to an extension resource that is attached to this ForwardingRule. + "reference": "A String", # Output only. The resource name. + }, + ], "availabilityGroup": "A String", # [Output Only] Specifies the availability group of the forwarding rule. This # field is for use by global external passthrough load balancers (load # balancing scheme EXTERNAL_PASSTHROUGH) and is set for the child forwarding @@ -2806,14 +2799,11 @@Method Details
# cannot be changed after the forwarding rule is created. "allowPscGlobalAccess": True or False, # This is used in PSC consumer ForwardingRule to control whether the PSC # endpoint can be accessed from another region. - "allowPscPacketInjection": True or False, # This is used in PSC consumer ForwardingRule to control whether the producer - # is allowed to inject packets into the consumer's network. If set to true, - # the target service attachment must have tunneling enabled and - # TunnelingConfig.RoutingMode set to PACKET_INJECTION - # Non-PSC forwarding rules should not use this field. - # - # This field was never released to any customers and is deprecated and - # will be removed in the future. + "attachedExtensions": [ # Output only. [Output Only]. The extensions that are attached to this ForwardingRule. + { # Reference to an extension resource that is attached to this ForwardingRule. + "reference": "A String", # Output only. The resource name. + }, + ], "availabilityGroup": "A String", # [Output Only] Specifies the availability group of the forwarding rule. This # field is for use by global external passthrough load balancers (load # balancing scheme EXTERNAL_PASSTHROUGH) and is set for the child forwarding diff --git a/docs/dyn/compute_alpha.globalForwardingRules.html b/docs/dyn/compute_alpha.globalForwardingRules.html index 5fd3c4d5c8..3c824a0ccb 100644 --- a/docs/dyn/compute_alpha.globalForwardingRules.html +++ b/docs/dyn/compute_alpha.globalForwardingRules.html @@ -81,7 +81,7 @@Instance Methods
delete(project, forwardingRule, requestId=None, x__xgafv=None)Deletes the specified GlobalForwardingRule resource.
-
+get(project, forwardingRule, x__xgafv=None)get(project, forwardingRule, view=None, x__xgafv=None)Returns the specified GlobalForwardingRule resource. Gets a list of
@@ -392,13 +392,18 @@
insert(project, body=None, requestId=None, x__xgafv=None)Method Details
-+get(project, forwardingRule, x__xgafv=None)+get(project, forwardingRule, view=None, x__xgafv=None)Returns the specified GlobalForwardingRule resource. Gets a list of available forwarding rules by making a list() request. Args: project: string, Project ID for this request. (required) forwardingRule: string, Name of the ForwardingRule resource to return. (required) + view: string, A parameter + Allowed values + BASIC - The default view of a ForwardingRule, which includes the basic fields. + FORWARDING_RULE_VIEW_UNSPECIFIED - The default / unset value. The API will default to the BASIC view. + FULL - The full view, including the ForwardingRule.`attached_extensions` field. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format @@ -497,14 +502,11 @@Method Details
# cannot be changed after the forwarding rule is created. "allowPscGlobalAccess": True or False, # This is used in PSC consumer ForwardingRule to control whether the PSC # endpoint can be accessed from another region. - "allowPscPacketInjection": True or False, # This is used in PSC consumer ForwardingRule to control whether the producer - # is allowed to inject packets into the consumer's network. If set to true, - # the target service attachment must have tunneling enabled and - # TunnelingConfig.RoutingMode set to PACKET_INJECTION - # Non-PSC forwarding rules should not use this field. - # - # This field was never released to any customers and is deprecated and - # will be removed in the future. + "attachedExtensions": [ # Output only. [Output Only]. The extensions that are attached to this ForwardingRule. + { # Reference to an extension resource that is attached to this ForwardingRule. + "reference": "A String", # Output only. The resource name. + }, + ], "availabilityGroup": "A String", # [Output Only] Specifies the availability group of the forwarding rule. This # field is for use by global external passthrough load balancers (load # balancing scheme EXTERNAL_PASSTHROUGH) and is set for the child forwarding @@ -922,14 +924,11 @@Method Details
# cannot be changed after the forwarding rule is created. "allowPscGlobalAccess": True or False, # This is used in PSC consumer ForwardingRule to control whether the PSC # endpoint can be accessed from another region. - "allowPscPacketInjection": True or False, # This is used in PSC consumer ForwardingRule to control whether the producer - # is allowed to inject packets into the consumer's network. If set to true, - # the target service attachment must have tunneling enabled and - # TunnelingConfig.RoutingMode set to PACKET_INJECTION - # Non-PSC forwarding rules should not use this field. - # - # This field was never released to any customers and is deprecated and - # will be removed in the future. + "attachedExtensions": [ # Output only. [Output Only]. The extensions that are attached to this ForwardingRule. + { # Reference to an extension resource that is attached to this ForwardingRule. + "reference": "A String", # Output only. The resource name. + }, + ], "availabilityGroup": "A String", # [Output Only] Specifies the availability group of the forwarding rule. This # field is for use by global external passthrough load balancers (load # balancing scheme EXTERNAL_PASSTHROUGH) and is set for the child forwarding @@ -1711,14 +1710,11 @@Method Details
# cannot be changed after the forwarding rule is created. "allowPscGlobalAccess": True or False, # This is used in PSC consumer ForwardingRule to control whether the PSC # endpoint can be accessed from another region. - "allowPscPacketInjection": True or False, # This is used in PSC consumer ForwardingRule to control whether the producer - # is allowed to inject packets into the consumer's network. If set to true, - # the target service attachment must have tunneling enabled and - # TunnelingConfig.RoutingMode set to PACKET_INJECTION - # Non-PSC forwarding rules should not use this field. - # - # This field was never released to any customers and is deprecated and - # will be removed in the future. + "attachedExtensions": [ # Output only. [Output Only]. The extensions that are attached to this ForwardingRule. + { # Reference to an extension resource that is attached to this ForwardingRule. + "reference": "A String", # Output only. The resource name. + }, + ], "availabilityGroup": "A String", # [Output Only] Specifies the availability group of the forwarding rule. This # field is for use by global external passthrough load balancers (load # balancing scheme EXTERNAL_PASSTHROUGH) and is set for the child forwarding @@ -2188,14 +2184,11 @@Method Details
# cannot be changed after the forwarding rule is created. "allowPscGlobalAccess": True or False, # This is used in PSC consumer ForwardingRule to control whether the PSC # endpoint can be accessed from another region. - "allowPscPacketInjection": True or False, # This is used in PSC consumer ForwardingRule to control whether the producer - # is allowed to inject packets into the consumer's network. If set to true, - # the target service attachment must have tunneling enabled and - # TunnelingConfig.RoutingMode set to PACKET_INJECTION - # Non-PSC forwarding rules should not use this field. - # - # This field was never released to any customers and is deprecated and - # will be removed in the future. + "attachedExtensions": [ # Output only. [Output Only]. The extensions that are attached to this ForwardingRule. + { # Reference to an extension resource that is attached to this ForwardingRule. + "reference": "A String", # Output only. The resource name. + }, + ], "availabilityGroup": "A String", # [Output Only] Specifies the availability group of the forwarding rule. This # field is for use by global external passthrough load balancers (load # balancing scheme EXTERNAL_PASSTHROUGH) and is set for the child forwarding diff --git a/docs/dyn/compute_alpha.globalVmExtensionPolicies.html b/docs/dyn/compute_alpha.globalVmExtensionPolicies.html index d18d0827af..2c45ea92ed 100644 --- a/docs/dyn/compute_alpha.globalVmExtensionPolicies.html +++ b/docs/dyn/compute_alpha.globalVmExtensionPolicies.html @@ -89,12 +89,21 @@Instance Methods
get(project, globalVmExtensionPolicy, x__xgafv=None)Gets details of a global VM extension policy.
++
+getVmExtension(project, extensionName, x__xgafv=None)Retrieves details of a specific VM extension.
insert(project, body=None, requestId=None, x__xgafv=None)Creates a new project level GlobalVmExtensionPolicy.
Lists global VM extension policies.
+ +Lists all VM extensions within a specific zone for a project.
+ +Retrieves the next page of results.
Retrieves the next page of results.
@@ -807,6 +816,29 @@Method Details
}++getVmExtension(project, extensionName, x__xgafv=None)+Retrieves details of a specific VM extension. + +Args: + project: string, Project ID for this request. (required) + extensionName: string, A parameter (required) + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { + "name": "A String", + "versions": [ + "A String", + ], +}++insert(project, body=None, requestId=None, x__xgafv=None)Creates a new project level GlobalVmExtensionPolicy. @@ -1443,6 +1475,173 @@Method Details
}++ +listVmExtensions(project, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)+Lists all VM extensions within a specific zone for a project. +This is a read-only API. + +Args: + project: string, Required. Project ID for this request. (required) + filter: string, A filter expression that filters resources listed in the response. Most +Compute resources support two types of filter expressions: +expressions that support regular expressions and expressions that follow +API improvement proposal AIP-160. +These two types of filter expressions cannot be mixed in one request. + +If you want to use AIP-160, your expression must specify the field name, an +operator, and the value that you want to use for filtering. The value +must be a string, a number, or a boolean. The operator +must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. + +For example, if you are filtering Compute Engine instances, you can +exclude instances named `example-instance` by specifying +`name != example-instance`. + +The `:*` comparison can be used to test whether a key has been defined. +For example, to find all objects with `owner` label use: +``` +labels.owner:* +``` + +You can also filter nested fields. For example, you could specify +`scheduling.automaticRestart = false` to include instances only +if they are not scheduled for automatic restarts. You can use filtering +on nested fields to filter based onresource labels. + +To filter on multiple expressions, provide each separate expression within +parentheses. For example: +``` +(scheduling.automaticRestart = true) +(cpuPlatform = "Intel Skylake") +``` +By default, each expression is an `AND` expression. However, you +can include `AND` and `OR` expressions explicitly. +For example: +``` +(cpuPlatform = "Intel Skylake") OR +(cpuPlatform = "Intel Broadwell") AND +(scheduling.automaticRestart = true) +``` + +If you want to use a regular expression, use the `eq` (equal) or `ne` +(not equal) operator against a single un-parenthesized expression with or +without quotes or against multiple parenthesized expressions. Examples: + +`fieldname eq unquoted literal` +`fieldname eq 'single quoted literal'` +`fieldname eq "double quoted literal"` +`(fieldname1 eq literal) (fieldname2 ne "literal")` + +The literal value is interpreted as a regular expression using GoogleRE2 library syntax. +The literal value must match the entire field. + +For example, to filter for instances that do not end with name "instance", +you would use `name ne .*instance`. + +You cannot combine constraints on multiple fields using regular +expressions. + maxResults: integer, The maximum number of results per page that should be returned. +If the number of available results is larger than `maxResults`, +Compute Engine returns a `nextPageToken` that can be used to get +the next page of results in subsequent list requests. Acceptable values are +`0` to `500`, inclusive. (Default: `500`) + orderBy: string, Sorts list results by a certain order. By default, results +are returned in alphanumerical order based on the resource name. + +You can also sort results in descending order based on the creation +timestamp using `orderBy="creationTimestamp desc"`. This sorts +results based on the `creationTimestamp` field in +reverse chronological order (newest result first). Use this to sort +resources like operations so that the newest operation is returned first. + +Currently, only sorting by `name` or +`creationTimestamp desc` is supported. + pageToken: string, Specifies a page token to use. Set `pageToken` to the +`nextPageToken` returned by a previous list request to get +the next page of results. + returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case +of failure. The default value is false. + +For example, when partial success behavior is enabled, aggregatedList for a +single zone scope either returns all resources in the zone or no resources, +with an error code. + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { + "etag": "A String", # Output only. Fingerprint of this resource. A hash of the contents stored + # in this object. This field is used in optimistic locking. This field will + # be ignored when inserting a VmExtensionPolicy. An up-to-date + # fingerprint must be provided in order to update the VmExtensionPolicy. + # + # To see the latest value of the fingerprint, make a get() request to + # retrieve a VmExtensionPolicy. + "id": "A String", # Output only. Unique identifier for the resource; defined by the server. + "items": [ # Output only. A list of VM extensions. + { + "name": "A String", + "versions": [ + "A String", + ], + }, + ], + "kind": "compute#globalVmExtensionList", # Output only. Type of resource. + "nextPageToken": "A String", # Output only. This token allows you to get the next page of results for + # list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for + # the query parameter pageToken in the next list request. + # Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + "selfLink": "A String", # Output only. Server-defined URL for this resource. + "unreachables": [ # Output only. Unreachable resources. + "A String", + ], + "warning": { # Output only. Informational warning message. + "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute + # Engine returns NO_RESULTS_ON_PAGE if there + # are no results in the response. + "data": [ # [Output Only] Metadata about this warning in key: + # value format. For example: + # + # "data": [ + # { + # "key": "scope", + # "value": "zones/us-east1-d" + # } + { + "key": "A String", # [Output Only] A key that provides more detail on the warning being + # returned. For example, for warnings where there are no results in a list + # request for a particular zone, this key might be scope and + # the key value might be the zone name. Other examples might be a key + # indicating a deprecated resource and a suggested replacement, or a + # warning about invalid network settings (for example, if an instance + # attempts to perform IP forwarding but is not enabled for IP forwarding). + "value": "A String", # [Output Only] A warning data value corresponding to the key. + }, + ], + "message": "A String", # [Output Only] A human-readable description of the warning code. + }, +}+++listVmExtensions_next()+Retrieves the next page of results. + + Args: + previous_request: The request for the previous page. (required) + previous_response: The response from the request for the previous page. (required) + + Returns: + A request object that you can call 'execute()' on to request the next + page. Returns None if there are no more items in the collection. +++list_next()Retrieves the next page of results. diff --git a/docs/dyn/compute_alpha.html b/docs/dyn/compute_alpha.html index 8fedaaccbc..0d539679e9 100644 --- a/docs/dyn/compute_alpha.html +++ b/docs/dyn/compute_alpha.html @@ -359,6 +359,11 @@Instance Methods
Returns the organizationSecurityPolicies Resource.
++
+organizationSnapshotRecycleBinPolicy()+Returns the organizationSnapshotRecycleBinPolicy Resource.
+ @@ -644,6 +649,11 @@Instance Methods
Returns the snapshotGroups Resource.
++
+snapshotRecycleBinPolicy()+Returns the snapshotRecycleBinPolicy Resource.
+ diff --git a/docs/dyn/compute_alpha.instances.html b/docs/dyn/compute_alpha.instances.html index 091e9508a5..5ab6f43acc 100644 --- a/docs/dyn/compute_alpha.instances.html +++ b/docs/dyn/compute_alpha.instances.html @@ -137,6 +137,9 @@Instance Methods
getShieldedVmIdentity(project, zone, instance, x__xgafv=None)Returns the Shielded VM Identity of an instance
++
+getVmExtensionState(project, zone, instance, extensionName, x__xgafv=None)Retrieves details of a specific VM extension state.
Creates an instance resource in the specified project using the data
@@ -149,6 +152,12 @@Instance Methods
Retrieves the next page of results.
+ +Lists all VM extensions states for a specific instance.
++
+listVmExtensionStates_next()Retrieves the next page of results.
Retrieves the next page of results.
@@ -237,7 +246,7 @@Instance Methods
testIamPermissions(project, zone, resource, body=None, x__xgafv=None)Returns permissions that a caller has on the specified resource.
+update(project, zone, instance, body=None, clearSecureTag=None, discardLocalSsd=None, minimalAction=None, mostDisruptiveAllowedAction=None, requestId=None, x__xgafv=None)Updates an instance only if the necessary resources are available. This
@@ -10081,6 +10090,38 @@Method Details
}++getVmExtensionState(project, zone, instance, extensionName, x__xgafv=None)+Retrieves details of a specific VM extension state. +This is a read-only API. + +Args: + project: string, Project ID for this request. (required) + zone: string, Name of the zone for this request. (required) + instance: string, Name or id of the instance resource. (required) + extensionName: string, The name of the extension to get the state for. (required) + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # State of an extension on an instance. + "enforcementMsg": "A String", # The status message of the extension if the extension fails to enforce. + "enforcementState": "A String", # The enforcement state of the extension. + # If the extension is not enforced yet, then the health status will not be + # specified. + "healthStatus": "A String", # The health status of the extension. + "name": "A String", # The name of the extension. + "policyId": "A String", # The id of the policy that is enforced on the extension. + "unhealthyMsg": "A String", # The status message of the extension if the extension is in unhealthy + # state. + "version": "A String", # The version of the extension. +}++insert(project, zone, body=None, requestId=None, sourceInstanceTemplate=None, sourceMachineImage=None, x__xgafv=None)Creates an instance resource in the specified project using the data @@ -13629,6 +13670,181 @@Method Details
++ +listVmExtensionStates(project, zone, instance, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)+Lists all VM extensions states for a specific instance. +This is a read-only API. + +Args: + project: string, Project ID for this request. (required) + zone: string, Required. Name of the zone for this request. (required) + instance: string, Name of the target instance scoping this request. (required) + filter: string, A filter expression that filters resources listed in the response. Most +Compute resources support two types of filter expressions: +expressions that support regular expressions and expressions that follow +API improvement proposal AIP-160. +These two types of filter expressions cannot be mixed in one request. + +If you want to use AIP-160, your expression must specify the field name, an +operator, and the value that you want to use for filtering. The value +must be a string, a number, or a boolean. The operator +must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. + +For example, if you are filtering Compute Engine instances, you can +exclude instances named `example-instance` by specifying +`name != example-instance`. + +The `:*` comparison can be used to test whether a key has been defined. +For example, to find all objects with `owner` label use: +``` +labels.owner:* +``` + +You can also filter nested fields. For example, you could specify +`scheduling.automaticRestart = false` to include instances only +if they are not scheduled for automatic restarts. You can use filtering +on nested fields to filter based onresource labels. + +To filter on multiple expressions, provide each separate expression within +parentheses. For example: +``` +(scheduling.automaticRestart = true) +(cpuPlatform = "Intel Skylake") +``` +By default, each expression is an `AND` expression. However, you +can include `AND` and `OR` expressions explicitly. +For example: +``` +(cpuPlatform = "Intel Skylake") OR +(cpuPlatform = "Intel Broadwell") AND +(scheduling.automaticRestart = true) +``` + +If you want to use a regular expression, use the `eq` (equal) or `ne` +(not equal) operator against a single un-parenthesized expression with or +without quotes or against multiple parenthesized expressions. Examples: + +`fieldname eq unquoted literal` +`fieldname eq 'single quoted literal'` +`fieldname eq "double quoted literal"` +`(fieldname1 eq literal) (fieldname2 ne "literal")` + +The literal value is interpreted as a regular expression using GoogleRE2 library syntax. +The literal value must match the entire field. + +For example, to filter for instances that do not end with name "instance", +you would use `name ne .*instance`. + +You cannot combine constraints on multiple fields using regular +expressions. + maxResults: integer, The maximum number of results per page that should be returned. +If the number of available results is larger than `maxResults`, +Compute Engine returns a `nextPageToken` that can be used to get +the next page of results in subsequent list requests. Acceptable values are +`0` to `500`, inclusive. (Default: `500`) + orderBy: string, Sorts list results by a certain order. By default, results +are returned in alphanumerical order based on the resource name. + +You can also sort results in descending order based on the creation +timestamp using `orderBy="creationTimestamp desc"`. This sorts +results based on the `creationTimestamp` field in +reverse chronological order (newest result first). Use this to sort +resources like operations so that the newest operation is returned first. + +Currently, only sorting by `name` or +`creationTimestamp desc` is supported. + pageToken: string, Specifies a page token to use. Set `pageToken` to the +`nextPageToken` returned by a previous list request to get +the next page of results. + returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case +of failure. The default value is false. + +For example, when partial success behavior is enabled, aggregatedList for a +single zone scope either returns all resources in the zone or no resources, +with an error code. + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { + "etag": "A String", # Output only. Fingerprint of this resource. A hash of the contents stored + # in this object. This field is used in optimistic locking. This field will + # be ignored when inserting a VmExtensionPolicy. An up-to-date + # fingerprint must be provided in order to update the VmExtensionPolicy. + # + # To see the latest value of the fingerprint, make a get() request to + # retrieve a VmExtensionPolicy. + "id": "A String", # Output only. Unique identifier for the resource; defined by the server. + "items": [ # Output only. A list of VM extension policy resources. + { # State of an extension on an instance. + "enforcementMsg": "A String", # The status message of the extension if the extension fails to enforce. + "enforcementState": "A String", # The enforcement state of the extension. + # If the extension is not enforced yet, then the health status will not be + # specified. + "healthStatus": "A String", # The health status of the extension. + "name": "A String", # The name of the extension. + "policyId": "A String", # The id of the policy that is enforced on the extension. + "unhealthyMsg": "A String", # The status message of the extension if the extension is in unhealthy + # state. + "version": "A String", # The version of the extension. + }, + ], + "kind": "compute#vmExtensionStatesList", # Output only. Type of resource. + "nextPageToken": "A String", # Output only. This token allows you to get the next page of results for + # list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for + # the query parameter pageToken in the next list request. + # Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + "selfLink": "A String", # Output only. Server-defined URL for this resource. + "unreachables": [ # Output only. Unreachable resources. + "A String", + ], + "warning": { # Output only. Informational warning message. + "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute + # Engine returns NO_RESULTS_ON_PAGE if there + # are no results in the response. + "data": [ # [Output Only] Metadata about this warning in key: + # value format. For example: + # + # "data": [ + # { + # "key": "scope", + # "value": "zones/us-east1-d" + # } + { + "key": "A String", # [Output Only] A key that provides more detail on the warning being + # returned. For example, for warnings where there are no results in a list + # request for a particular zone, this key might be scope and + # the key value might be the zone name. Other examples might be a key + # indicating a deprecated resource and a suggested replacement, or a + # warning about invalid network settings (for example, if an instance + # attempts to perform IP forwarding but is not enabled for IP forwarding). + "value": "A String", # [Output Only] A warning data value corresponding to the key. + }, + ], + "message": "A String", # [Output Only] A human-readable description of the warning code. + }, +}+++listVmExtensionStates_next()+Retrieves the next page of results. + + Args: + previous_request: The request for the previous page. (required) + previous_response: The response from the request for the previous page. (required) + + Returns: + A request object that you can call 'execute()' on to request the next + page. Returns None if there are no more items in the collection. ++list_next()Retrieves the next page of results. @@ -22284,7 +22500,7 @@Method Details
-@@ -3085,6 +3099,10 @@update(project, zone, instance, body=None, clearSecureTag=None, minimalAction=None, mostDisruptiveAllowedAction=None, requestId=None, x__xgafv=None)+update(project, zone, instance, body=None, clearSecureTag=None, discardLocalSsd=None, minimalAction=None, mostDisruptiveAllowedAction=None, requestId=None, x__xgafv=None)Updates an instance only if the necessary resources are available. This method can update only a specific set of instance properties. See Updating a running instance for a list of updatable instance @@ -23767,6 +23983,8 @@Method Details
clearSecureTag: boolean, Whether to clear secure tags from the instance. This property if set to true will clear secure tags regardless of theresource.secure_tags. + discardLocalSsd: boolean, Whether to discard local SSDs from the instance during restart +default value is false. minimalAction: string, Specifies the action to take when updating an instance even if the updated properties do not require it. If not specified, then Compute Engine acts based on the minimum action that the updated diff --git a/docs/dyn/compute_alpha.instantSnapshots.html b/docs/dyn/compute_alpha.instantSnapshots.html index 68dd48989c..635c718c8f 100644 --- a/docs/dyn/compute_alpha.instantSnapshots.html +++ b/docs/dyn/compute_alpha.instantSnapshots.html @@ -261,6 +261,18 @@Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Additional instant snapshot params. # Input only. Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Input only. Resource manager tags to be bound to the instant snapshot. Tag keys and + # values have the same definition as resource + # manager tags. Keys and values can be either in numeric format, + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and + # `{tag_value_short_name}`. The field is ignored (both PUT & + # PATCH) when empty. + "a_key": "A String", + }, + }, "region": "A String", # Output only. [Output Only] URL of the region where the instant snapshot resides. # You must specify this field as part of the HTTP request URL. It is # not settable as a field in the request body. @@ -737,6 +749,18 @@Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Additional instant snapshot params. # Input only. Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Input only. Resource manager tags to be bound to the instant snapshot. Tag keys and + # values have the same definition as resource + # manager tags. Keys and values can be either in numeric format, + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and + # `{tag_value_short_name}`. The field is ignored (both PUT & + # PATCH) when empty. + "a_key": "A String", + }, + }, "region": "A String", # Output only. [Output Only] URL of the region where the instant snapshot resides. # You must specify this field as part of the HTTP request URL. It is # not settable as a field in the request body. @@ -1202,6 +1226,18 @@Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Additional instant snapshot params. # Input only. Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Input only. Resource manager tags to be bound to the instant snapshot. Tag keys and + # values have the same definition as resource + # manager tags. Keys and values can be either in numeric format, + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and + # `{tag_value_short_name}`. The field is ignored (both PUT & + # PATCH) when empty. + "a_key": "A String", + }, + }, "region": "A String", # Output only. [Output Only] URL of the region where the instant snapshot resides. # You must specify this field as part of the HTTP request URL. It is # not settable as a field in the request body. @@ -1663,6 +1699,18 @@Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Additional instant snapshot params. # Input only. Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Input only. Resource manager tags to be bound to the instant snapshot. Tag keys and + # values have the same definition as resource + # manager tags. Keys and values can be either in numeric format, + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and + # `{tag_value_short_name}`. The field is ignored (both PUT & + # PATCH) when empty. + "a_key": "A String", + }, + }, "region": "A String", # Output only. [Output Only] URL of the region where the instant snapshot resides. # You must specify this field as part of the HTTP request URL. It is # not settable as a field in the request body. diff --git a/docs/dyn/compute_alpha.interconnects.html b/docs/dyn/compute_alpha.interconnects.html index ca1eec470a..10e21c6899 100644 --- a/docs/dyn/compute_alpha.interconnects.html +++ b/docs/dyn/compute_alpha.interconnects.html @@ -486,6 +486,9 @@Method Details
# authorized to request a crossconnect. "description": "A String", # An optional description of this resource. Provide this property when you # create the resource. + "effectiveLocation": "A String", # Output only. [Output Only] URL of the InterconnectLocation object that represents where + # this connection is to be provisioned. By default it will be the same as the + # location field. "expectedOutages": [ # Output only. [Output Only] A list of outages expected for this Interconnect. { # Description of a planned outage on this Interconnect. "affectedCircuits": [ # If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit @@ -1299,6 +1302,9 @@Method Details
# authorized to request a crossconnect. "description": "A String", # An optional description of this resource. Provide this property when you # create the resource. + "effectiveLocation": "A String", # Output only. [Output Only] URL of the InterconnectLocation object that represents where + # this connection is to be provisioned. By default it will be the same as the + # location field. "expectedOutages": [ # Output only. [Output Only] A list of outages expected for this Interconnect. { # Description of a planned outage on this Interconnect. "affectedCircuits": [ # If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit @@ -1954,6 +1960,9 @@Method Details
# authorized to request a crossconnect. "description": "A String", # An optional description of this resource. Provide this property when you # create the resource. + "effectiveLocation": "A String", # Output only. [Output Only] URL of the InterconnectLocation object that represents where + # this connection is to be provisioned. By default it will be the same as the + # location field. "expectedOutages": [ # Output only. [Output Only] A list of outages expected for this Interconnect. { # Description of a planned outage on this Interconnect. "affectedCircuits": [ # If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit @@ -2297,6 +2306,9 @@Method Details
# authorized to request a crossconnect. "description": "A String", # An optional description of this resource. Provide this property when you # create the resource. + "effectiveLocation": "A String", # Output only. [Output Only] URL of the InterconnectLocation object that represents where + # this connection is to be provisioned. By default it will be the same as the + # location field. "expectedOutages": [ # Output only. [Output Only] A list of outages expected for this Interconnect. { # Description of a planned outage on this Interconnect. "affectedCircuits": [ # If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit diff --git a/docs/dyn/compute_alpha.machineImages.html b/docs/dyn/compute_alpha.machineImages.html index 42abc20833..072c84c16d 100644 --- a/docs/dyn/compute_alpha.machineImages.html +++ b/docs/dyn/compute_alpha.machineImages.html @@ -1586,8 +1586,8 @@Method Details
"resourceManagerTags": { # Input only. Resource manager tags to be bound to the machine image. Tag keys and values # have the same definition as resource # manager tags. Keys and values can be either in numeric format, - # such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced - # format such as `{org_id|project_id}/{tag_key_short_name}` and + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and # `{tag_value_short_name}`. The field is ignored (both PUT & # PATCH) when empty. "a_key": "A String", @@ -3828,8 +3828,8 @@Method Details
"resourceManagerTags": { # Input only. Resource manager tags to be bound to the machine image. Tag keys and values # have the same definition as resource # manager tags. Keys and values can be either in numeric format, - # such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced - # format such as `{org_id|project_id}/{tag_key_short_name}` and + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and # `{tag_value_short_name}`. The field is ignored (both PUT & # PATCH) when empty. "a_key": "A String", @@ -6064,8 +6064,8 @@Method Details
"resourceManagerTags": { # Input only. Resource manager tags to be bound to the machine image. Tag keys and values # have the same definition as resource # manager tags. Keys and values can be either in numeric format, - # such as `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced - # format such as `{org_id|project_id}/{tag_key_short_name}` and + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and # `{tag_value_short_name}`. The field is ignored (both PUT & # PATCH) when empty. "a_key": "A String", diff --git a/docs/dyn/compute_alpha.networks.html b/docs/dyn/compute_alpha.networks.html index 29d9dd025e..85ebc0f24a 100644 --- a/docs/dyn/compute_alpha.networks.html +++ b/docs/dyn/compute_alpha.networks.html @@ -232,9 +232,7 @@Method Details
"peerMtu": 42, # Output only. [Output Only] Maximum Transmission Unit in bytes of the peer network. "stackType": "A String", # Which IP version(s) of traffic and routes are allowed to be imported or # exported between peer networks. The default value is IPV4_ONLY. - "state": "A String", # Output only. [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The - # peering is `ACTIVE` when there's a matching configuration in the peer - # network. + "state": "A String", # Output only. [Output Only] State for the peering. "stateDetails": "A String", # Output only. [Output Only] Details about the current state of the peering. "updateStrategy": "A String", # The update strategy determines the semantics for updates and deletes to the # peering connection configuration. @@ -1255,9 +1253,7 @@Method Details
"peerMtu": 42, # Output only. [Output Only] Maximum Transmission Unit in bytes of the peer network. "stackType": "A String", # Which IP version(s) of traffic and routes are allowed to be imported or # exported between peer networks. The default value is IPV4_ONLY. - "state": "A String", # Output only. [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The - # peering is `ACTIVE` when there's a matching configuration in the peer - # network. + "state": "A String", # Output only. [Output Only] State for the peering. "stateDetails": "A String", # Output only. [Output Only] Details about the current state of the peering. "updateStrategy": "A String", # The update strategy determines the semantics for updates and deletes to the # peering connection configuration. @@ -2537,9 +2533,7 @@Method Details
"peerMtu": 42, # Output only. [Output Only] Maximum Transmission Unit in bytes of the peer network. "stackType": "A String", # Which IP version(s) of traffic and routes are allowed to be imported or # exported between peer networks. The default value is IPV4_ONLY. - "state": "A String", # Output only. [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The - # peering is `ACTIVE` when there's a matching configuration in the peer - # network. + "state": "A String", # Output only. [Output Only] State for the peering. "stateDetails": "A String", # Output only. [Output Only] Details about the current state of the peering. "updateStrategy": "A String", # The update strategy determines the semantics for updates and deletes to the # peering connection configuration. @@ -3098,9 +3092,7 @@Method Details
"peerMtu": 42, # Output only. [Output Only] Maximum Transmission Unit in bytes of the peer network. "stackType": "A String", # Which IP version(s) of traffic and routes are allowed to be imported or # exported between peer networks. The default value is IPV4_ONLY. - "state": "A String", # Output only. [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The - # peering is `ACTIVE` when there's a matching configuration in the peer - # network. + "state": "A String", # Output only. [Output Only] State for the peering. "stateDetails": "A String", # Output only. [Output Only] Details about the current state of the peering. "updateStrategy": "A String", # The update strategy determines the semantics for updates and deletes to the # peering connection configuration. @@ -3844,9 +3836,7 @@Method Details
"peerMtu": 42, # Output only. [Output Only] Maximum Transmission Unit in bytes of the peer network. "stackType": "A String", # Which IP version(s) of traffic and routes are allowed to be imported or # exported between peer networks. The default value is IPV4_ONLY. - "state": "A String", # Output only. [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The - # peering is `ACTIVE` when there's a matching configuration in the peer - # network. + "state": "A String", # Output only. [Output Only] State for the peering. "stateDetails": "A String", # Output only. [Output Only] Details about the current state of the peering. "updateStrategy": "A String", # The update strategy determines the semantics for updates and deletes to the # peering connection configuration. @@ -5130,9 +5120,7 @@Method Details
"peerMtu": 42, # Output only. [Output Only] Maximum Transmission Unit in bytes of the peer network. "stackType": "A String", # Which IP version(s) of traffic and routes are allowed to be imported or # exported between peer networks. The default value is IPV4_ONLY. - "state": "A String", # Output only. [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The - # peering is `ACTIVE` when there's a matching configuration in the peer - # network. + "state": "A String", # Output only. [Output Only] State for the peering. "stateDetails": "A String", # Output only. [Output Only] Details about the current state of the peering. "updateStrategy": "A String", # The update strategy determines the semantics for updates and deletes to the # peering connection configuration. diff --git a/docs/dyn/compute_alpha.organizationSnapshotRecycleBinPolicy.html b/docs/dyn/compute_alpha.organizationSnapshotRecycleBinPolicy.html new file mode 100644 index 0000000000..a8d91d212e --- /dev/null +++ b/docs/dyn/compute_alpha.organizationSnapshotRecycleBinPolicy.html @@ -0,0 +1,441 @@ + + + +Compute Engine API . organizationSnapshotRecycleBinPolicy
+Instance Methods
++
+close()Close httplib2 connections.
++
+get(organization, x__xgafv=None)Returns the specified SnapshotRecycleBinPolicy.
++
+patch(organization, body=None, requestId=None, updateMask=None, x__xgafv=None)Patches the SnapshotRecycleBinPolicy.
+Method Details
+++ +close()+Close httplib2 connections.+++ +get(organization, x__xgafv=None)+Returns the specified SnapshotRecycleBinPolicy. + +Args: + organization: string, Organization ID for this request. (required) + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # Represents the singleton resource Snapshot Recycle Bin Policy that + # configures the retention duration for snapshots in the recycle bin. + # + # You can configure the retention duration for snapshots in the recycle bin + # at the project or organization level. If you configure the policy at the + # organization level, all projects in that organization will share the same + # policy. If you configure the policy at the project level it will be merged + # with org level policy (if any) and the snapshots in that project will use + # that policy. + "rules": { # The rules for the snapshot recycle bin policy. The key is either 'default' + # or namespacedName of the TagValue which can be in the format: + # `{organization_id}/{tag_key_short_name}/{tag_value_short_name}` or + # `{project_id}/{tag_key_short_name}/{tag_value_short_name}` or + # `{project_number}/{tag_key_short_name}/{tag_value_short_name}`. The default + # rule is applied if snapshots do not have any of these tags. + # The value is the rule for the key. + "a_key": { # A rule that defines the retention policy for snapshots in the recycle bin. + "standardSnapshots": { # The rule config for snapshots in the recycle bin. # The rule config for standard snapshots. + "retentionDurationDays": "A String", # The retention duration for snapshots in the recycle bin after which the + # snapshots are automatically deleted from recycle bin. + }, + }, + }, +}+++ + \ No newline at end of file diff --git a/docs/dyn/compute_alpha.regionBackendServices.html b/docs/dyn/compute_alpha.regionBackendServices.html index b26f804c1e..d105d2fe50 100644 --- a/docs/dyn/compute_alpha.regionBackendServices.html +++ b/docs/dyn/compute_alpha.regionBackendServices.html @@ -909,6 +909,10 @@patch(organization, body=None, requestId=None, updateMask=None, x__xgafv=None)+Patches the SnapshotRecycleBinPolicy. + +Args: + organization: string, Organization ID for this request. (required) + body: object, The request body. + The object takes the form of: + +{ # Represents the singleton resource Snapshot Recycle Bin Policy that + # configures the retention duration for snapshots in the recycle bin. + # + # You can configure the retention duration for snapshots in the recycle bin + # at the project or organization level. If you configure the policy at the + # organization level, all projects in that organization will share the same + # policy. If you configure the policy at the project level it will be merged + # with org level policy (if any) and the snapshots in that project will use + # that policy. + "rules": { # The rules for the snapshot recycle bin policy. The key is either 'default' + # or namespacedName of the TagValue which can be in the format: + # `{organization_id}/{tag_key_short_name}/{tag_value_short_name}` or + # `{project_id}/{tag_key_short_name}/{tag_value_short_name}` or + # `{project_number}/{tag_key_short_name}/{tag_value_short_name}`. The default + # rule is applied if snapshots do not have any of these tags. + # The value is the rule for the key. + "a_key": { # A rule that defines the retention policy for snapshots in the recycle bin. + "standardSnapshots": { # The rule config for snapshots in the recycle bin. # The rule config for standard snapshots. + "retentionDurationDays": "A String", # The retention duration for snapshots in the recycle bin after which the + # snapshots are automatically deleted from recycle bin. + }, + }, + }, +} + + requestId: string, An optional request ID to identify requests. Specify a unique request ID so +that if you must retry your request, the server will know to ignore the +request if it has already been completed. + +For example, consider a situation where you make an initial request and +the request times out. If you make the request again with the same +request ID, the server can check if original operation with the same +request ID was received, and if so, will ignore the second request. This +prevents clients from accidentally creating duplicate commitments. + +The request ID must be +a valid UUID with the exception that zero UUID is not supported +(00000000-0000-0000-0000-000000000000). + updateMask: string, update_mask indicates fields to be updated as part of this request. + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # Represents an Operation resource. + # + # Google Compute Engine has three Operation resources: + # + # * [Global](/compute/docs/reference/rest/alpha/globalOperations) + # * [Regional](/compute/docs/reference/rest/alpha/regionOperations) + # * [Zonal](/compute/docs/reference/rest/alpha/zoneOperations) + # + # You can use an operation resource to manage asynchronous API requests. + # For more information, readHandling + # API responses. + # + # Operations can be global, regional or zonal. + # + # - For global operations, use the `globalOperations` + # resource. + # - For regional operations, use the + # `regionOperations` resource. + # - For zonal operations, use + # the `zoneOperations` resource. + # + # + # + # For more information, read + # Global, Regional, and Zonal Resources. + # + # Note that completed Operation resources have a limited + # retention period. + "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. + # Not present otherwise. + "creationTimestamp": "A String", # [Deprecated] This field is deprecated. + "description": "A String", # [Output Only] A textual description of the operation, which is + # set when the operation is created. + "endTime": "A String", # [Output Only] The time that this operation was completed. This value is inRFC3339 + # text format. + "error": { # [Output Only] If errors are generated during processing of the operation, + # this field will be populated. + "errors": [ # [Output Only] The array of errors encountered while processing this + # operation. + { + "code": "A String", # [Output Only] The error type identifier for this error. + "errorDetails": [ # [Output Only] An optional list of messages that contain the error + # details. There is a set of defined message types to use for providing + # details.The syntax depends on the error code. For example, + # QuotaExceededInfo will have details when the error code is + # QUOTA_EXCEEDED. + { + "errorInfo": { # Describes the cause of the error with structured details. + # + # Example of an error when contacting the "pubsub.googleapis.com" API when it + # is not enabled: + # + # { "reason": "API_DISABLED" + # "domain": "googleapis.com" + # "metadata": { + # "resource": "projects/123", + # "service": "pubsub.googleapis.com" + # } + # } + # + # This response indicates that the pubsub.googleapis.com API is not enabled. + # + # Example of an error that is returned when attempting to create a Spanner + # instance in a region that is out of stock: + # + # { "reason": "STOCKOUT" + # "domain": "spanner.googleapis.com", + # "metadata": { + # "availableRegions": "us-central1,us-east2" + # } + # } + "domain": "A String", # The logical grouping to which the "reason" belongs. The error domain + # is typically the registered service name of the tool or product that + # generates the error. Example: "pubsub.googleapis.com". If the error is + # generated by some common infrastructure, the error domain must be a + # globally unique value that identifies the infrastructure. For Google API + # infrastructure, the error domain is "googleapis.com". + "metadatas": { # Additional structured details about this error. + # + # Keys must match a regular expression of `a-z+` but should + # ideally be lowerCamelCase. Also, they must be limited to 64 characters in + # length. When identifying the current value of an exceeded limit, the units + # should be contained in the key, not the value. For example, rather than + # `{"instanceLimit": "100/request"}`, should be returned as, + # `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of + # instances that can be created in a single (batch) request. + "a_key": "A String", + }, + "reason": "A String", # The reason of the error. This is a constant value that identifies the + # proximate cause of the error. Error reasons are unique within a particular + # domain of errors. This should be at most 63 characters and match a + # regular expression of `A-Z+[A-Z0-9]`, which represents + # UPPER_SNAKE_CASE. + }, + "help": { # Provides links to documentation or for performing an out of band action. + # + # For example, if a quota check failed with an error indicating the calling + # project hasn't enabled the accessed service, this can contain a URL pointing + # directly to the right place in the developer console to flip the bit. + "links": [ # URL(s) pointing to additional information on handling the current error. + { # Describes a URL link. + "description": "A String", # Describes what the link offers. + "url": "A String", # The URL of the link. + }, + ], + }, + "localizedMessage": { # Provides a localized error message that is safe to return to the user + # which can be attached to an RPC error. + "locale": "A String", # The locale used following the specification defined at + # https://www.rfc-editor.org/rfc/bcp/bcp47.txt. + # Examples are: "en-US", "fr-CH", "es-MX" + "message": "A String", # The localized error message in the above locale. + }, + "quotaInfo": { # Additional details for quota exceeded error for resource quota. + "dimensions": { # The map holding related quota dimensions. + "a_key": "A String", + }, + "futureLimit": 3.14, # Future quota limit being rolled out. The limit's unit depends on the quota + # type or metric. + "limit": 3.14, # Current effective quota limit. The limit's unit depends on the quota type + # or metric. + "limitName": "A String", # The name of the quota limit. + "metricName": "A String", # The Compute Engine quota metric name. + "rolloutStatus": "A String", # Rollout status of the future quota limit. + }, + }, + ], + "location": "A String", # [Output Only] Indicates the field in the request that caused the error. + # This property is optional. + "message": "A String", # [Output Only] An optional, human-readable error message. + }, + ], + }, + "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error + # message that was returned, such as `NOT FOUND`. + "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error + # status code that was returned. For example, a `404` means the + # resource was not found. + "id": "A String", # [Output Only] The unique identifier for the operation. This identifier is + # defined by the server. + "insertTime": "A String", # [Output Only] The time that this operation was requested. + # This value is inRFC3339 + # text format. + "instancesBulkInsertOperationMetadata": { + "perLocationStatus": { # Status information per location (location name is key). + # Example key: zones/us-central1-a + "a_key": { + "createdVmCount": 42, # [Output Only] Count of VMs successfully created so far. + "deletedVmCount": 42, # [Output Only] Count of VMs that got deleted during rollback. + "failedToCreateVmCount": 42, # [Output Only] Count of VMs that started creating but encountered an + # error. + "status": "A String", # [Output Only] Creation status of BulkInsert operation - information + # if the flow is rolling forward or rolling back. + "targetVmCount": 42, # [Output Only] Count of VMs originally planned to be created. + }, + }, + }, + "kind": "compute#operation", # Output only. [Output Only] Type of the resource. Always `compute#operation` for + # Operation resources. + "name": "A String", # [Output Only] Name of the operation. + "operationGroupId": "A String", # Output only. [Output Only] An ID that represents a group of operations, such as when a + # group of operations results from a `bulkInsert` API request. + "operationType": "A String", # [Output Only] The type of operation, such as `insert`, + # `update`, or `delete`, and so on. + "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. + # There is no requirement that this be linear or support any granularity of + # operations. This should not be used to guess when the operation will be + # complete. This number should monotonically increase as the operation + # progresses. + "region": "A String", # [Output Only] The URL of the region where the operation resides. Only + # applicable when performing regional operations. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "selfLinkWithId": "A String", # Output only. [Output Only] Server-defined URL for this resource with the resource id. + "setCommonInstanceMetadataOperationMetadata": { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata, + # this field will contain information on all underlying zonal actions and + # their state. + "clientOperationId": "A String", # [Output Only] The client operation id. + "perLocationOperations": { # [Output Only] Status information per location (location name is key). + # Example key: zones/us-central1-a + "a_key": { + "error": { # The `Status` type defines a logical error model that is suitable for # [Output Only] If state is `ABANDONED` or `FAILED`, this field is + # populated. + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). Each `Status` message contains + # three pieces of data: error code, error message, and error details. + # + # You can find out more about this error model and how to work with it in the + # [API Design Guide](https://cloud.google.com/apis/design/errors). + "code": 42, # The status code, which should be an enum value of google.rpc.Code. + "details": [ # A list of messages that carry the error details. There is a common set of + # message types for APIs to use. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + "message": "A String", # A developer-facing error message, which should be in English. Any + # user-facing error message should be localized and sent in the + # google.rpc.Status.details field, or localized by the client. + }, + "state": "A String", # [Output Only] Status of the action, which can be one of the following: + # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`. + }, + }, + }, + "startTime": "A String", # [Output Only] The time that this operation was started by the server. + # This value is inRFC3339 + # text format. + "status": "A String", # [Output Only] The status of the operation, which can be one of the + # following: + # `PENDING`, `RUNNING`, or `DONE`. + "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the + # operation. + "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation + # of the target resource. + "targetLink": "A String", # [Output Only] The URL of the resource that the operation modifies. For + # operations related to creating a snapshot, this points to the disk + # that the snapshot was created from. + "user": "A String", # [Output Only] User who requested the operation, for example: + # `user@example.com` or + # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`. + "warnings": [ # [Output Only] If warning messages are generated during processing of the + # operation, this field will be populated. + { + "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute + # Engine returns NO_RESULTS_ON_PAGE if there + # are no results in the response. + "data": [ # [Output Only] Metadata about this warning in key: + # value format. For example: + # + # "data": [ + # { + # "key": "scope", + # "value": "zones/us-east1-d" + # } + { + "key": "A String", # [Output Only] A key that provides more detail on the warning being + # returned. For example, for warnings where there are no results in a list + # request for a particular zone, this key might be scope and + # the key value might be the zone name. Other examples might be a key + # indicating a deprecated resource and a suggested replacement, or a + # warning about invalid network settings (for example, if an instance + # attempts to perform IP forwarding but is not enabled for IP forwarding). + "value": "A String", # [Output Only] A warning data value corresponding to the key. + }, + ], + "message": "A String", # [Output Only] A human-readable description of the warning code. + }, + ], + "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only + # applicable when performing per-zone operations. +}+Method Details
"dynamicForwarding": { # Defines a dynamic forwarding configuration for the backend service. # Dynamic forwarding configuration. This field is used to configure the # backend service with dynamic forwarding feature which together with Service # Extension allows customized and complex routing logic. + "forwardProxy": { # Defines Dynamic Forwarding Proxy configuration. # Dynamic Forwarding Proxy configuration. + "enabled": True or False, # A boolean flag enabling dynamic forwarding proxy. + "proxyMode": "A String", # Determines the dynamic forwarding proxy mode. + }, "ipPortSelection": { # Defines a IP:PORT based dynamic forwarding configuration for the backend # IP:PORT based dynamic forwarding configuration. # service. Some ranges are restricted: Restricted # ranges. @@ -2159,6 +2163,16 @@Method Details
# and ForwardingRule. }, ], + "vpcNetworkScope": "A String", # The network scope of the backends that can be added to the backend + # service. This field can be either GLOBAL_VPC_NETWORK orREGIONAL_VPC_NETWORK. + # + # A backend service with the VPC scope set to GLOBAL_VPC_NETWORK + # is only allowed to have backends in global VPC networks. + # + # When the VPC scope is set to REGIONAL_VPC_NETWORK the backend + # service is only allowed to have backends in regional networks in the same + # scope as the backend service. + # Note: if not specified then GLOBAL_VPC_NETWORK will be used. }Method Details
"dynamicForwarding": { # Defines a dynamic forwarding configuration for the backend service. # Dynamic forwarding configuration. This field is used to configure the # backend service with dynamic forwarding feature which together with Service # Extension allows customized and complex routing logic. + "forwardProxy": { # Defines Dynamic Forwarding Proxy configuration. # Dynamic Forwarding Proxy configuration. + "enabled": True or False, # A boolean flag enabling dynamic forwarding proxy. + "proxyMode": "A String", # Determines the dynamic forwarding proxy mode. + }, "ipPortSelection": { # Defines a IP:PORT based dynamic forwarding configuration for the backend # IP:PORT based dynamic forwarding configuration. # service. Some ranges are restricted: Restricted # ranges. @@ -4335,6 +4353,16 @@Method Details
# and ForwardingRule. }, ], + "vpcNetworkScope": "A String", # The network scope of the backends that can be added to the backend + # service. This field can be either GLOBAL_VPC_NETWORK orREGIONAL_VPC_NETWORK. + # + # A backend service with the VPC scope set to GLOBAL_VPC_NETWORK + # is only allowed to have backends in global VPC networks. + # + # When the VPC scope is set to REGIONAL_VPC_NETWORK the backend + # service is only allowed to have backends in regional networks in the same + # scope as the backend service. + # Note: if not specified then GLOBAL_VPC_NETWORK will be used. } requestId: string, An optional request ID to identify requests. Specify a unique request ID so @@ -5199,6 +5227,10 @@Method Details
"dynamicForwarding": { # Defines a dynamic forwarding configuration for the backend service. # Dynamic forwarding configuration. This field is used to configure the # backend service with dynamic forwarding feature which together with Service # Extension allows customized and complex routing logic. + "forwardProxy": { # Defines Dynamic Forwarding Proxy configuration. # Dynamic Forwarding Proxy configuration. + "enabled": True or False, # A boolean flag enabling dynamic forwarding proxy. + "proxyMode": "A String", # Determines the dynamic forwarding proxy mode. + }, "ipPortSelection": { # Defines a IP:PORT based dynamic forwarding configuration for the backend # IP:PORT based dynamic forwarding configuration. # service. Some ranges are restricted: Restricted # ranges. @@ -6449,6 +6481,16 @@Method Details
# and ForwardingRule. }, ], + "vpcNetworkScope": "A String", # The network scope of the backends that can be added to the backend + # service. This field can be either GLOBAL_VPC_NETWORK orREGIONAL_VPC_NETWORK. + # + # A backend service with the VPC scope set to GLOBAL_VPC_NETWORK + # is only allowed to have backends in global VPC networks. + # + # When the VPC scope is set to REGIONAL_VPC_NETWORK the backend + # service is only allowed to have backends in regional networks in the same + # scope as the backend service. + # Note: if not specified then GLOBAL_VPC_NETWORK will be used. }, ], "kind": "compute#backendServiceList", # Output only. [Output Only] Type of resource. Alwayscompute#backendServiceList for lists of backend services. @@ -7075,6 +7117,10 @@Method Details
"dynamicForwarding": { # Defines a dynamic forwarding configuration for the backend service. # Dynamic forwarding configuration. This field is used to configure the # backend service with dynamic forwarding feature which together with Service # Extension allows customized and complex routing logic. + "forwardProxy": { # Defines Dynamic Forwarding Proxy configuration. # Dynamic Forwarding Proxy configuration. + "enabled": True or False, # A boolean flag enabling dynamic forwarding proxy. + "proxyMode": "A String", # Determines the dynamic forwarding proxy mode. + }, "ipPortSelection": { # Defines a IP:PORT based dynamic forwarding configuration for the backend # IP:PORT based dynamic forwarding configuration. # service. Some ranges are restricted: Restricted # ranges. @@ -8325,6 +8371,16 @@Method Details
# and ForwardingRule. }, ], + "vpcNetworkScope": "A String", # The network scope of the backends that can be added to the backend + # service. This field can be either GLOBAL_VPC_NETWORK orREGIONAL_VPC_NETWORK. + # + # A backend service with the VPC scope set to GLOBAL_VPC_NETWORK + # is only allowed to have backends in global VPC networks. + # + # When the VPC scope is set to REGIONAL_VPC_NETWORK the backend + # service is only allowed to have backends in regional networks in the same + # scope as the backend service. + # Note: if not specified then GLOBAL_VPC_NETWORK will be used. }, ], "kind": "compute#usableBackendServiceList", # Output only. [Output Only] Type of resource. Alwayscompute#usableBackendServiceList for lists of usable backend @@ -8892,6 +8948,10 @@Method Details
"dynamicForwarding": { # Defines a dynamic forwarding configuration for the backend service. # Dynamic forwarding configuration. This field is used to configure the # backend service with dynamic forwarding feature which together with Service # Extension allows customized and complex routing logic. + "forwardProxy": { # Defines Dynamic Forwarding Proxy configuration. # Dynamic Forwarding Proxy configuration. + "enabled": True or False, # A boolean flag enabling dynamic forwarding proxy. + "proxyMode": "A String", # Determines the dynamic forwarding proxy mode. + }, "ipPortSelection": { # Defines a IP:PORT based dynamic forwarding configuration for the backend # IP:PORT based dynamic forwarding configuration. # service. Some ranges are restricted: Restricted # ranges. @@ -10142,6 +10202,16 @@Method Details
# and ForwardingRule. }, ], + "vpcNetworkScope": "A String", # The network scope of the backends that can be added to the backend + # service. This field can be either GLOBAL_VPC_NETWORK orREGIONAL_VPC_NETWORK. + # + # A backend service with the VPC scope set to GLOBAL_VPC_NETWORK + # is only allowed to have backends in global VPC networks. + # + # When the VPC scope is set to REGIONAL_VPC_NETWORK the backend + # service is only allowed to have backends in regional networks in the same + # scope as the backend service. + # Note: if not specified then GLOBAL_VPC_NETWORK will be used. } requestId: string, An optional request ID to identify requests. Specify a unique request ID so @@ -12119,6 +12189,10 @@Method Details
"dynamicForwarding": { # Defines a dynamic forwarding configuration for the backend service. # Dynamic forwarding configuration. This field is used to configure the # backend service with dynamic forwarding feature which together with Service # Extension allows customized and complex routing logic. + "forwardProxy": { # Defines Dynamic Forwarding Proxy configuration. # Dynamic Forwarding Proxy configuration. + "enabled": True or False, # A boolean flag enabling dynamic forwarding proxy. + "proxyMode": "A String", # Determines the dynamic forwarding proxy mode. + }, "ipPortSelection": { # Defines a IP:PORT based dynamic forwarding configuration for the backend # IP:PORT based dynamic forwarding configuration. # service. Some ranges are restricted: Restricted # ranges. @@ -13369,6 +13443,16 @@Method Details
# and ForwardingRule. }, ], + "vpcNetworkScope": "A String", # The network scope of the backends that can be added to the backend + # service. This field can be either GLOBAL_VPC_NETWORK orREGIONAL_VPC_NETWORK. + # + # A backend service with the VPC scope set to GLOBAL_VPC_NETWORK + # is only allowed to have backends in global VPC networks. + # + # When the VPC scope is set to REGIONAL_VPC_NETWORK the backend + # service is only allowed to have backends in regional networks in the same + # scope as the backend service. + # Note: if not specified then GLOBAL_VPC_NETWORK will be used. } requestId: string, An optional request ID to identify requests. Specify a unique request ID so diff --git a/docs/dyn/compute_alpha.regionCommitments.html b/docs/dyn/compute_alpha.regionCommitments.html index 8cbcaaaf9f..da2c363b98 100644 --- a/docs/dyn/compute_alpha.regionCommitments.html +++ b/docs/dyn/compute_alpha.regionCommitments.html @@ -374,6 +374,18 @@Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Additional reservation params. # Input only. Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Input only. Resource manager tags to be bound to the reservation. Tag keys and + # values have the same definition as resource + # manager tags. Keys and values can be either in numeric format, + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and + # `{tag_value_short_name}`. The field is ignored (both PUT & + # PATCH) when empty. + "a_key": "A String", + }, + }, "protectionTier": "A String", # Protection tier for the workload which specifies the workload expectations # in the event of infrastructure failures at data center (e.g. power # and/or cooling failures). @@ -1469,6 +1481,18 @@Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Additional reservation params. # Input only. Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Input only. Resource manager tags to be bound to the reservation. Tag keys and + # values have the same definition as resource + # manager tags. Keys and values can be either in numeric format, + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and + # `{tag_value_short_name}`. The field is ignored (both PUT & + # PATCH) when empty. + "a_key": "A String", + }, + }, "protectionTier": "A String", # Protection tier for the workload which specifies the workload expectations # in the event of infrastructure failures at data center (e.g. power # and/or cooling failures). @@ -1910,6 +1934,18 @@Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Additional reservation params. # Input only. Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Input only. Resource manager tags to be bound to the reservation. Tag keys and + # values have the same definition as resource + # manager tags. Keys and values can be either in numeric format, + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and + # `{tag_value_short_name}`. The field is ignored (both PUT & + # PATCH) when empty. + "a_key": "A String", + }, + }, "protectionTier": "A String", # Protection tier for the workload which specifies the workload expectations # in the event of infrastructure failures at data center (e.g. power # and/or cooling failures). @@ -2715,6 +2751,18 @@Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Additional reservation params. # Input only. Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Input only. Resource manager tags to be bound to the reservation. Tag keys and + # values have the same definition as resource + # manager tags. Keys and values can be either in numeric format, + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and + # `{tag_value_short_name}`. The field is ignored (both PUT & + # PATCH) when empty. + "a_key": "A String", + }, + }, "protectionTier": "A String", # Protection tier for the workload which specifies the workload expectations # in the event of infrastructure failures at data center (e.g. power # and/or cooling failures). @@ -3241,6 +3289,18 @@Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Additional reservation params. # Input only. Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Input only. Resource manager tags to be bound to the reservation. Tag keys and + # values have the same definition as resource + # manager tags. Keys and values can be either in numeric format, + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and + # `{tag_value_short_name}`. The field is ignored (both PUT & + # PATCH) when empty. + "a_key": "A String", + }, + }, "protectionTier": "A String", # Protection tier for the workload which specifies the workload expectations # in the event of infrastructure failures at data center (e.g. power # and/or cooling failures). @@ -3889,6 +3949,18 @@Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Additional reservation params. # Input only. Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Input only. Resource manager tags to be bound to the reservation. Tag keys and + # values have the same definition as resource + # manager tags. Keys and values can be either in numeric format, + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and + # `{tag_value_short_name}`. The field is ignored (both PUT & + # PATCH) when empty. + "a_key": "A String", + }, + }, "protectionTier": "A String", # Protection tier for the workload which specifies the workload expectations # in the event of infrastructure failures at data center (e.g. power # and/or cooling failures). diff --git a/docs/dyn/compute_alpha.regionInstantSnapshots.html b/docs/dyn/compute_alpha.regionInstantSnapshots.html index 7d5a93c26c..7e0598dc6b 100644 --- a/docs/dyn/compute_alpha.regionInstantSnapshots.html +++ b/docs/dyn/compute_alpha.regionInstantSnapshots.html @@ -451,6 +451,18 @@Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Additional instant snapshot params. # Input only. Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Input only. Resource manager tags to be bound to the instant snapshot. Tag keys and + # values have the same definition as resource + # manager tags. Keys and values can be either in numeric format, + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and + # `{tag_value_short_name}`. The field is ignored (both PUT & + # PATCH) when empty. + "a_key": "A String", + }, + }, "region": "A String", # Output only. [Output Only] URL of the region where the instant snapshot resides. # You must specify this field as part of the HTTP request URL. It is # not settable as a field in the request body. @@ -916,6 +928,18 @@Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Additional instant snapshot params. # Input only. Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Input only. Resource manager tags to be bound to the instant snapshot. Tag keys and + # values have the same definition as resource + # manager tags. Keys and values can be either in numeric format, + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and + # `{tag_value_short_name}`. The field is ignored (both PUT & + # PATCH) when empty. + "a_key": "A String", + }, + }, "region": "A String", # Output only. [Output Only] URL of the region where the instant snapshot resides. # You must specify this field as part of the HTTP request URL. It is # not settable as a field in the request body. @@ -1377,6 +1401,18 @@Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Additional instant snapshot params. # Input only. Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Input only. Resource manager tags to be bound to the instant snapshot. Tag keys and + # values have the same definition as resource + # manager tags. Keys and values can be either in numeric format, + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and + # `{tag_value_short_name}`. The field is ignored (both PUT & + # PATCH) when empty. + "a_key": "A String", + }, + }, "region": "A String", # Output only. [Output Only] URL of the region where the instant snapshot resides. # You must specify this field as part of the HTTP request URL. It is # not settable as a field in the request body. diff --git a/docs/dyn/compute_alpha.regionUrlMaps.html b/docs/dyn/compute_alpha.regionUrlMaps.html index 910e4c5cce..f998aeeedf 100644 --- a/docs/dyn/compute_alpha.regionUrlMaps.html +++ b/docs/dyn/compute_alpha.regionUrlMaps.html @@ -7811,6 +7811,12 @@Method Details
The object takes the form of: { + "backendService": "A String", # If set, this invalidation rule will only apply to requests routed to the + # given backend service or backend bucket. + # For example, for a backend bucket `bb1` in the same scope as the URL map, + # the path would be `projects/my-project/global/backendBuckets/bb1`; and + # for a backend service `bs1` in the same scope as the URL map, the path + # would be `projects/my-project/global/backendServices/bs1`. "cacheTags": [ # A list of cache tags used to identify cached objects. # # @@ -7825,8 +7831,13 @@Method Details
# Up to 10 tags can be specified in a single invalidation request. "A String", ], + "contentType": "A String", # If set, this invalidation rule will only apply to responses with the given + # content-type. Parameters are not allowed and are ignored from the response + # when matching. Wildcards are not allowed. "host": "A String", # If set, this invalidation rule will only apply to requests with a Host # header matching host. + "httpStatus": 42, # If set, this invalidation rule will only apply to responses with the + # given HTTP status. Valid range is 200-599. "path": "A String", } diff --git a/docs/dyn/compute_alpha.reservations.html b/docs/dyn/compute_alpha.reservations.html index efa04d99cf..a37ef5f9bb 100644 --- a/docs/dyn/compute_alpha.reservations.html +++ b/docs/dyn/compute_alpha.reservations.html @@ -309,6 +309,18 @@Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Additional reservation params. # Input only. Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Input only. Resource manager tags to be bound to the reservation. Tag keys and + # values have the same definition as resource + # manager tags. Keys and values can be either in numeric format, + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and + # `{tag_value_short_name}`. The field is ignored (both PUT & + # PATCH) when empty. + "a_key": "A String", + }, + }, "protectionTier": "A String", # Protection tier for the workload which specifies the workload expectations # in the event of infrastructure failures at data center (e.g. power # and/or cooling failures). @@ -950,6 +962,18 @@Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Additional reservation params. # Input only. Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Input only. Resource manager tags to be bound to the reservation. Tag keys and + # values have the same definition as resource + # manager tags. Keys and values can be either in numeric format, + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and + # `{tag_value_short_name}`. The field is ignored (both PUT & + # PATCH) when empty. + "a_key": "A String", + }, + }, "protectionTier": "A String", # Protection tier for the workload which specifies the workload expectations # in the event of infrastructure failures at data center (e.g. power # and/or cooling failures). @@ -1589,6 +1613,18 @@Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Additional reservation params. # Input only. Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Input only. Resource manager tags to be bound to the reservation. Tag keys and + # values have the same definition as resource + # manager tags. Keys and values can be either in numeric format, + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and + # `{tag_value_short_name}`. The field is ignored (both PUT & + # PATCH) when empty. + "a_key": "A String", + }, + }, "protectionTier": "A String", # Protection tier for the workload which specifies the workload expectations # in the event of infrastructure failures at data center (e.g. power # and/or cooling failures). @@ -2224,6 +2260,18 @@Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Additional reservation params. # Input only. Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Input only. Resource manager tags to be bound to the reservation. Tag keys and + # values have the same definition as resource + # manager tags. Keys and values can be either in numeric format, + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and + # `{tag_value_short_name}`. The field is ignored (both PUT & + # PATCH) when empty. + "a_key": "A String", + }, + }, "protectionTier": "A String", # Protection tier for the workload which specifies the workload expectations # in the event of infrastructure failures at data center (e.g. power # and/or cooling failures). @@ -4034,6 +4082,18 @@Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Additional reservation params. # Input only. Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Input only. Resource manager tags to be bound to the reservation. Tag keys and + # values have the same definition as resource + # manager tags. Keys and values can be either in numeric format, + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and + # `{tag_value_short_name}`. The field is ignored (both PUT & + # PATCH) when empty. + "a_key": "A String", + }, + }, "protectionTier": "A String", # Protection tier for the workload which specifies the workload expectations # in the event of infrastructure failures at data center (e.g. power # and/or cooling failures). diff --git a/docs/dyn/compute_alpha.snapshotRecycleBinPolicy.html b/docs/dyn/compute_alpha.snapshotRecycleBinPolicy.html new file mode 100644 index 0000000000..2e174209bb --- /dev/null +++ b/docs/dyn/compute_alpha.snapshotRecycleBinPolicy.html @@ -0,0 +1,441 @@ + + + +Compute Engine API . snapshotRecycleBinPolicy
+Instance Methods
++
+close()Close httplib2 connections.
+ +Returns the specified SnapshotRecycleBinPolicy.
++
+patch(project, body=None, requestId=None, updateMask=None, x__xgafv=None)Patches the SnapshotRecycleBinPolicy.
+Method Details
+++ +close()+Close httplib2 connections.+++ +get(project, x__xgafv=None)+Returns the specified SnapshotRecycleBinPolicy. + +Args: + project: string, Project ID for this request. (required) + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # Represents the singleton resource Snapshot Recycle Bin Policy that + # configures the retention duration for snapshots in the recycle bin. + # + # You can configure the retention duration for snapshots in the recycle bin + # at the project or organization level. If you configure the policy at the + # organization level, all projects in that organization will share the same + # policy. If you configure the policy at the project level it will be merged + # with org level policy (if any) and the snapshots in that project will use + # that policy. + "rules": { # The rules for the snapshot recycle bin policy. The key is either 'default' + # or namespacedName of the TagValue which can be in the format: + # `{organization_id}/{tag_key_short_name}/{tag_value_short_name}` or + # `{project_id}/{tag_key_short_name}/{tag_value_short_name}` or + # `{project_number}/{tag_key_short_name}/{tag_value_short_name}`. The default + # rule is applied if snapshots do not have any of these tags. + # The value is the rule for the key. + "a_key": { # A rule that defines the retention policy for snapshots in the recycle bin. + "standardSnapshots": { # The rule config for snapshots in the recycle bin. # The rule config for standard snapshots. + "retentionDurationDays": "A String", # The retention duration for snapshots in the recycle bin after which the + # snapshots are automatically deleted from recycle bin. + }, + }, + }, +}+++ + \ No newline at end of file diff --git a/docs/dyn/compute_alpha.snapshots.html b/docs/dyn/compute_alpha.snapshots.html index 7c83893cf0..3a550c24c0 100644 --- a/docs/dyn/compute_alpha.snapshots.html +++ b/docs/dyn/compute_alpha.snapshots.html @@ -89,6 +89,9 @@patch(project, body=None, requestId=None, updateMask=None, x__xgafv=None)+Patches the SnapshotRecycleBinPolicy. + +Args: + project: string, Project ID for this request. (required) + body: object, The request body. + The object takes the form of: + +{ # Represents the singleton resource Snapshot Recycle Bin Policy that + # configures the retention duration for snapshots in the recycle bin. + # + # You can configure the retention duration for snapshots in the recycle bin + # at the project or organization level. If you configure the policy at the + # organization level, all projects in that organization will share the same + # policy. If you configure the policy at the project level it will be merged + # with org level policy (if any) and the snapshots in that project will use + # that policy. + "rules": { # The rules for the snapshot recycle bin policy. The key is either 'default' + # or namespacedName of the TagValue which can be in the format: + # `{organization_id}/{tag_key_short_name}/{tag_value_short_name}` or + # `{project_id}/{tag_key_short_name}/{tag_value_short_name}` or + # `{project_number}/{tag_key_short_name}/{tag_value_short_name}`. The default + # rule is applied if snapshots do not have any of these tags. + # The value is the rule for the key. + "a_key": { # A rule that defines the retention policy for snapshots in the recycle bin. + "standardSnapshots": { # The rule config for snapshots in the recycle bin. # The rule config for standard snapshots. + "retentionDurationDays": "A String", # The retention duration for snapshots in the recycle bin after which the + # snapshots are automatically deleted from recycle bin. + }, + }, + }, +} + + requestId: string, An optional request ID to identify requests. Specify a unique request ID so +that if you must retry your request, the server will know to ignore the +request if it has already been completed. + +For example, consider a situation where you make an initial request and +the request times out. If you make the request again with the same +request ID, the server can check if original operation with the same +request ID was received, and if so, will ignore the second request. This +prevents clients from accidentally creating duplicate commitments. + +The request ID must be +a valid UUID with the exception that zero UUID is not supported +(00000000-0000-0000-0000-000000000000). + updateMask: string, update_mask indicates fields to be updated as part of this request. + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # Represents an Operation resource. + # + # Google Compute Engine has three Operation resources: + # + # * [Global](/compute/docs/reference/rest/alpha/globalOperations) + # * [Regional](/compute/docs/reference/rest/alpha/regionOperations) + # * [Zonal](/compute/docs/reference/rest/alpha/zoneOperations) + # + # You can use an operation resource to manage asynchronous API requests. + # For more information, readHandling + # API responses. + # + # Operations can be global, regional or zonal. + # + # - For global operations, use the `globalOperations` + # resource. + # - For regional operations, use the + # `regionOperations` resource. + # - For zonal operations, use + # the `zoneOperations` resource. + # + # + # + # For more information, read + # Global, Regional, and Zonal Resources. + # + # Note that completed Operation resources have a limited + # retention period. + "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. + # Not present otherwise. + "creationTimestamp": "A String", # [Deprecated] This field is deprecated. + "description": "A String", # [Output Only] A textual description of the operation, which is + # set when the operation is created. + "endTime": "A String", # [Output Only] The time that this operation was completed. This value is inRFC3339 + # text format. + "error": { # [Output Only] If errors are generated during processing of the operation, + # this field will be populated. + "errors": [ # [Output Only] The array of errors encountered while processing this + # operation. + { + "code": "A String", # [Output Only] The error type identifier for this error. + "errorDetails": [ # [Output Only] An optional list of messages that contain the error + # details. There is a set of defined message types to use for providing + # details.The syntax depends on the error code. For example, + # QuotaExceededInfo will have details when the error code is + # QUOTA_EXCEEDED. + { + "errorInfo": { # Describes the cause of the error with structured details. + # + # Example of an error when contacting the "pubsub.googleapis.com" API when it + # is not enabled: + # + # { "reason": "API_DISABLED" + # "domain": "googleapis.com" + # "metadata": { + # "resource": "projects/123", + # "service": "pubsub.googleapis.com" + # } + # } + # + # This response indicates that the pubsub.googleapis.com API is not enabled. + # + # Example of an error that is returned when attempting to create a Spanner + # instance in a region that is out of stock: + # + # { "reason": "STOCKOUT" + # "domain": "spanner.googleapis.com", + # "metadata": { + # "availableRegions": "us-central1,us-east2" + # } + # } + "domain": "A String", # The logical grouping to which the "reason" belongs. The error domain + # is typically the registered service name of the tool or product that + # generates the error. Example: "pubsub.googleapis.com". If the error is + # generated by some common infrastructure, the error domain must be a + # globally unique value that identifies the infrastructure. For Google API + # infrastructure, the error domain is "googleapis.com". + "metadatas": { # Additional structured details about this error. + # + # Keys must match a regular expression of `a-z+` but should + # ideally be lowerCamelCase. Also, they must be limited to 64 characters in + # length. When identifying the current value of an exceeded limit, the units + # should be contained in the key, not the value. For example, rather than + # `{"instanceLimit": "100/request"}`, should be returned as, + # `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of + # instances that can be created in a single (batch) request. + "a_key": "A String", + }, + "reason": "A String", # The reason of the error. This is a constant value that identifies the + # proximate cause of the error. Error reasons are unique within a particular + # domain of errors. This should be at most 63 characters and match a + # regular expression of `A-Z+[A-Z0-9]`, which represents + # UPPER_SNAKE_CASE. + }, + "help": { # Provides links to documentation or for performing an out of band action. + # + # For example, if a quota check failed with an error indicating the calling + # project hasn't enabled the accessed service, this can contain a URL pointing + # directly to the right place in the developer console to flip the bit. + "links": [ # URL(s) pointing to additional information on handling the current error. + { # Describes a URL link. + "description": "A String", # Describes what the link offers. + "url": "A String", # The URL of the link. + }, + ], + }, + "localizedMessage": { # Provides a localized error message that is safe to return to the user + # which can be attached to an RPC error. + "locale": "A String", # The locale used following the specification defined at + # https://www.rfc-editor.org/rfc/bcp/bcp47.txt. + # Examples are: "en-US", "fr-CH", "es-MX" + "message": "A String", # The localized error message in the above locale. + }, + "quotaInfo": { # Additional details for quota exceeded error for resource quota. + "dimensions": { # The map holding related quota dimensions. + "a_key": "A String", + }, + "futureLimit": 3.14, # Future quota limit being rolled out. The limit's unit depends on the quota + # type or metric. + "limit": 3.14, # Current effective quota limit. The limit's unit depends on the quota type + # or metric. + "limitName": "A String", # The name of the quota limit. + "metricName": "A String", # The Compute Engine quota metric name. + "rolloutStatus": "A String", # Rollout status of the future quota limit. + }, + }, + ], + "location": "A String", # [Output Only] Indicates the field in the request that caused the error. + # This property is optional. + "message": "A String", # [Output Only] An optional, human-readable error message. + }, + ], + }, + "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error + # message that was returned, such as `NOT FOUND`. + "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error + # status code that was returned. For example, a `404` means the + # resource was not found. + "id": "A String", # [Output Only] The unique identifier for the operation. This identifier is + # defined by the server. + "insertTime": "A String", # [Output Only] The time that this operation was requested. + # This value is inRFC3339 + # text format. + "instancesBulkInsertOperationMetadata": { + "perLocationStatus": { # Status information per location (location name is key). + # Example key: zones/us-central1-a + "a_key": { + "createdVmCount": 42, # [Output Only] Count of VMs successfully created so far. + "deletedVmCount": 42, # [Output Only] Count of VMs that got deleted during rollback. + "failedToCreateVmCount": 42, # [Output Only] Count of VMs that started creating but encountered an + # error. + "status": "A String", # [Output Only] Creation status of BulkInsert operation - information + # if the flow is rolling forward or rolling back. + "targetVmCount": 42, # [Output Only] Count of VMs originally planned to be created. + }, + }, + }, + "kind": "compute#operation", # Output only. [Output Only] Type of the resource. Always `compute#operation` for + # Operation resources. + "name": "A String", # [Output Only] Name of the operation. + "operationGroupId": "A String", # Output only. [Output Only] An ID that represents a group of operations, such as when a + # group of operations results from a `bulkInsert` API request. + "operationType": "A String", # [Output Only] The type of operation, such as `insert`, + # `update`, or `delete`, and so on. + "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. + # There is no requirement that this be linear or support any granularity of + # operations. This should not be used to guess when the operation will be + # complete. This number should monotonically increase as the operation + # progresses. + "region": "A String", # [Output Only] The URL of the region where the operation resides. Only + # applicable when performing regional operations. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "selfLinkWithId": "A String", # Output only. [Output Only] Server-defined URL for this resource with the resource id. + "setCommonInstanceMetadataOperationMetadata": { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata, + # this field will contain information on all underlying zonal actions and + # their state. + "clientOperationId": "A String", # [Output Only] The client operation id. + "perLocationOperations": { # [Output Only] Status information per location (location name is key). + # Example key: zones/us-central1-a + "a_key": { + "error": { # The `Status` type defines a logical error model that is suitable for # [Output Only] If state is `ABANDONED` or `FAILED`, this field is + # populated. + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). Each `Status` message contains + # three pieces of data: error code, error message, and error details. + # + # You can find out more about this error model and how to work with it in the + # [API Design Guide](https://cloud.google.com/apis/design/errors). + "code": 42, # The status code, which should be an enum value of google.rpc.Code. + "details": [ # A list of messages that carry the error details. There is a common set of + # message types for APIs to use. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + "message": "A String", # A developer-facing error message, which should be in English. Any + # user-facing error message should be localized and sent in the + # google.rpc.Status.details field, or localized by the client. + }, + "state": "A String", # [Output Only] Status of the action, which can be one of the following: + # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`. + }, + }, + }, + "startTime": "A String", # [Output Only] The time that this operation was started by the server. + # This value is inRFC3339 + # text format. + "status": "A String", # [Output Only] The status of the operation, which can be one of the + # following: + # `PENDING`, `RUNNING`, or `DONE`. + "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the + # operation. + "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation + # of the target resource. + "targetLink": "A String", # [Output Only] The URL of the resource that the operation modifies. For + # operations related to creating a snapshot, this points to the disk + # that the snapshot was created from. + "user": "A String", # [Output Only] User who requested the operation, for example: + # `user@example.com` or + # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`. + "warnings": [ # [Output Only] If warning messages are generated during processing of the + # operation, this field will be populated. + { + "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute + # Engine returns NO_RESULTS_ON_PAGE if there + # are no results in the response. + "data": [ # [Output Only] Metadata about this warning in key: + # value format. For example: + # + # "data": [ + # { + # "key": "scope", + # "value": "zones/us-east1-d" + # } + { + "key": "A String", # [Output Only] A key that provides more detail on the warning being + # returned. For example, for warnings where there are no results in a list + # request for a particular zone, this key might be scope and + # the key value might be the zone name. Other examples might be a key + # indicating a deprecated resource and a suggested replacement, or a + # warning about invalid network settings (for example, if an instance + # attempts to perform IP forwarding but is not enabled for IP forwarding). + "value": "A String", # [Output Only] A warning data value corresponding to the key. + }, + ], + "message": "A String", # [Output Only] A human-readable description of the warning code. + }, + ], + "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only + # applicable when performing per-zone operations. +}+Instance Methods
get(project, snapshot, x__xgafv=None)Returns the specified Snapshot resource.
++
+getEffectiveRecycleBinRule(project, snapshot, x__xgafv=None)Returns the effective recycle bin rule for a snapshot by merging org and
getIamPolicy(project, resource, optionsRequestedPolicyVersion=None, x__xgafv=None)Gets the access control policy for a resource. May be empty if no such
@@ -1284,6 +1287,28 @@Method Details
}++getEffectiveRecycleBinRule(project, snapshot, x__xgafv=None)+Returns the effective recycle bin rule for a snapshot by merging org and +project level rules. If no rules are defined at org and project level, the +standard default rule is returned. + +Args: + project: string, Project ID for this request. (required) + snapshot: string, Name of the Snapshot resource to get the effective recycle bin rule for. (required) + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { + "retentionDurationDays": "A String", # The retention duration of the snapshot in recycle bin. +}++getIamPolicy(project, resource, optionsRequestedPolicyVersion=None, x__xgafv=None)Gets the access control policy for a resource. May be empty if no such diff --git a/docs/dyn/compute_alpha.storagePools.html b/docs/dyn/compute_alpha.storagePools.html index 99826865ee..743fbde42e 100644 --- a/docs/dyn/compute_alpha.storagePools.html +++ b/docs/dyn/compute_alpha.storagePools.html @@ -242,9 +242,9 @@Method Details
"description": "A String", # An optional description of this resource. Provide this property when you # create the resource. "exapoolProvisionedCapacityGb": { # Exapool provisioned capacities for each SKU type # Output only. [Output Only] Provisioned capacities for each SKU for this Exapool in GiB - "capacityOptimized": "A String", # Output only. Size, in GiB, of provisioned capacity-optimized capacity for this Exapool - "readOptimized": "A String", # Output only. Size, in GiB, of provisioned read-optimized capacity for this Exapool - "writeOptimized": "A String", # Output only. Size, in GiB, of provisioned write-optimized capacity for this Exapool + "capacityOptimized": "A String", # Size, in GiB, of provisioned capacity-optimized capacity for this Exapool + "readOptimized": "A String", # Size, in GiB, of provisioned read-optimized capacity for this Exapool + "writeOptimized": "A String", # Size, in GiB, of provisioned write-optimized capacity for this Exapool }, "id": "A String", # Output only. [Output Only] The unique identifier for the resource. This identifier is # defined by the server. @@ -775,9 +775,9 @@Method Details
"description": "A String", # An optional description of this resource. Provide this property when you # create the resource. "exapoolProvisionedCapacityGb": { # Exapool provisioned capacities for each SKU type # Output only. [Output Only] Provisioned capacities for each SKU for this Exapool in GiB - "capacityOptimized": "A String", # Output only. Size, in GiB, of provisioned capacity-optimized capacity for this Exapool - "readOptimized": "A String", # Output only. Size, in GiB, of provisioned read-optimized capacity for this Exapool - "writeOptimized": "A String", # Output only. Size, in GiB, of provisioned write-optimized capacity for this Exapool + "capacityOptimized": "A String", # Size, in GiB, of provisioned capacity-optimized capacity for this Exapool + "readOptimized": "A String", # Size, in GiB, of provisioned read-optimized capacity for this Exapool + "writeOptimized": "A String", # Size, in GiB, of provisioned write-optimized capacity for this Exapool }, "id": "A String", # Output only. [Output Only] The unique identifier for the resource. This identifier is # defined by the server. @@ -1300,9 +1300,9 @@Method Details
"description": "A String", # An optional description of this resource. Provide this property when you # create the resource. "exapoolProvisionedCapacityGb": { # Exapool provisioned capacities for each SKU type # Output only. [Output Only] Provisioned capacities for each SKU for this Exapool in GiB - "capacityOptimized": "A String", # Output only. Size, in GiB, of provisioned capacity-optimized capacity for this Exapool - "readOptimized": "A String", # Output only. Size, in GiB, of provisioned read-optimized capacity for this Exapool - "writeOptimized": "A String", # Output only. Size, in GiB, of provisioned write-optimized capacity for this Exapool + "capacityOptimized": "A String", # Size, in GiB, of provisioned capacity-optimized capacity for this Exapool + "readOptimized": "A String", # Size, in GiB, of provisioned read-optimized capacity for this Exapool + "writeOptimized": "A String", # Size, in GiB, of provisioned write-optimized capacity for this Exapool }, "id": "A String", # Output only. [Output Only] The unique identifier for the resource. This identifier is # defined by the server. @@ -1821,9 +1821,9 @@Method Details
"description": "A String", # An optional description of this resource. Provide this property when you # create the resource. "exapoolProvisionedCapacityGb": { # Exapool provisioned capacities for each SKU type # Output only. [Output Only] Provisioned capacities for each SKU for this Exapool in GiB - "capacityOptimized": "A String", # Output only. Size, in GiB, of provisioned capacity-optimized capacity for this Exapool - "readOptimized": "A String", # Output only. Size, in GiB, of provisioned read-optimized capacity for this Exapool - "writeOptimized": "A String", # Output only. Size, in GiB, of provisioned write-optimized capacity for this Exapool + "capacityOptimized": "A String", # Size, in GiB, of provisioned capacity-optimized capacity for this Exapool + "readOptimized": "A String", # Size, in GiB, of provisioned read-optimized capacity for this Exapool + "writeOptimized": "A String", # Size, in GiB, of provisioned write-optimized capacity for this Exapool }, "id": "A String", # Output only. [Output Only] The unique identifier for the resource. This identifier is # defined by the server. @@ -3418,9 +3418,9 @@Method Details
"description": "A String", # An optional description of this resource. Provide this property when you # create the resource. "exapoolProvisionedCapacityGb": { # Exapool provisioned capacities for each SKU type # Output only. [Output Only] Provisioned capacities for each SKU for this Exapool in GiB - "capacityOptimized": "A String", # Output only. Size, in GiB, of provisioned capacity-optimized capacity for this Exapool - "readOptimized": "A String", # Output only. Size, in GiB, of provisioned read-optimized capacity for this Exapool - "writeOptimized": "A String", # Output only. Size, in GiB, of provisioned write-optimized capacity for this Exapool + "capacityOptimized": "A String", # Size, in GiB, of provisioned capacity-optimized capacity for this Exapool + "readOptimized": "A String", # Size, in GiB, of provisioned read-optimized capacity for this Exapool + "writeOptimized": "A String", # Size, in GiB, of provisioned write-optimized capacity for this Exapool }, "id": "A String", # Output only. [Output Only] The unique identifier for the resource. This identifier is # defined by the server. diff --git a/docs/dyn/compute_alpha.subnetworks.html b/docs/dyn/compute_alpha.subnetworks.html index d7ee790b00..558e68e950 100644 --- a/docs/dyn/compute_alpha.subnetworks.html +++ b/docs/dyn/compute_alpha.subnetworks.html @@ -256,9 +256,9 @@Method Details
# interval time reduces the amount of generated flow logs for long-lasting # connections. Default is an interval of 5 seconds per connection. # Valid values: INTERVAL_5_SEC, INTERVAL_30_SEC,INTERVAL_1_MIN, INTERVAL_5_MIN,INTERVAL_10_MIN, INTERVAL_15_MIN. - "allowSubnetCidrRoutesOverlap": True or False, # Whether this subnetwork's ranges can conflict with existing static routes. + "allowSubnetCidrRoutesOverlap": True or False, # Whether this subnetwork's ranges can conflict with existing custom routes. # Setting this to true allows this subnetwork's primary and secondary ranges - # to overlap with (and contain) static routes that have already been + # to overlap with (and contain) custom routes that have already been # configured on the corresponding network. # # For example if a static route has range 10.1.0.0/16, a subnet @@ -274,8 +274,6 @@Method Details
# # The default value is false and applies to all existing subnetworks and # automatically created subnetworks. - # - # This field cannot be set to true at resource creation time. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 # text format. "description": "A String", # An optional description of this resource. Provide this property when you @@ -429,19 +427,32 @@Method Details
"secondaryIpRanges": [ # An array of configurations for secondary IP ranges for VM instances # contained in this subnetwork. The primary IP of such VM must belong to the # primary ipCidrRange of the subnetwork. The alias IPs may belong to either - # primary or secondary ranges. This field can be updated with apatch request. + # primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges. { # Represents a secondary IP range of a subnetwork. "ipCidrRange": "A String", # The range of IP addresses belonging to this subnetwork secondary range. # Provide this property when you create the subnetwork. Ranges must be # unique and non-overlapping with all primary and secondary IP ranges - # within a network. Only IPv4 is supported. The range can be any range - # listed in theValid + # within a network. Both IPv4 and IPv6 ranges are supported. For IPv4, + # the range can be any range listed in theValid # ranges list. + # + # For IPv6: + # The range must have a /64 prefix length. + # The range must be omitted, for auto-allocation from Google-defined ULA + # IPv6 range. + # For BYOGUA internal IPv6 secondary range, the range may be specified + # along with the `ipCollection` field. + # If an `ipCollection` is specified, the requested ip_cidr_range must lie + # within the range of the PDP referenced by the `ipCollection` field for + # allocation. + # If `ipCollection` field is specified, but ip_cidr_range is not, + # the range is auto-allocated from the PDP referenced by the `ipCollection` + # field. "rangeName": "A String", # The name associated with this subnetwork secondary range, used when adding - # an alias IP range to a VM instance. + # an alias IP/IPv6 range to a VM instance. # The name must be 1-63 characters long, and comply withRFC1035. # The name must be unique within the subnetwork. - "reservedInternalRange": "A String", # The URL of the reserved internal range. + "reservedInternalRange": "A String", # The URL of the reserved internal range. Only IPv4 is supported. }, ], "selfLink": "A String", # [Output Only] Server-defined URL for the resource. @@ -1209,9 +1220,9 @@Method Details
# interval time reduces the amount of generated flow logs for long-lasting # connections. Default is an interval of 5 seconds per connection. # Valid values: INTERVAL_5_SEC, INTERVAL_30_SEC,INTERVAL_1_MIN, INTERVAL_5_MIN,INTERVAL_10_MIN, INTERVAL_15_MIN. - "allowSubnetCidrRoutesOverlap": True or False, # Whether this subnetwork's ranges can conflict with existing static routes. + "allowSubnetCidrRoutesOverlap": True or False, # Whether this subnetwork's ranges can conflict with existing custom routes. # Setting this to true allows this subnetwork's primary and secondary ranges - # to overlap with (and contain) static routes that have already been + # to overlap with (and contain) custom routes that have already been # configured on the corresponding network. # # For example if a static route has range 10.1.0.0/16, a subnet @@ -1227,8 +1238,6 @@Method Details
# # The default value is false and applies to all existing subnetworks and # automatically created subnetworks. - # - # This field cannot be set to true at resource creation time. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 # text format. "description": "A String", # An optional description of this resource. Provide this property when you @@ -1382,19 +1391,32 @@Method Details
"secondaryIpRanges": [ # An array of configurations for secondary IP ranges for VM instances # contained in this subnetwork. The primary IP of such VM must belong to the # primary ipCidrRange of the subnetwork. The alias IPs may belong to either - # primary or secondary ranges. This field can be updated with apatch request. + # primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges. { # Represents a secondary IP range of a subnetwork. "ipCidrRange": "A String", # The range of IP addresses belonging to this subnetwork secondary range. # Provide this property when you create the subnetwork. Ranges must be # unique and non-overlapping with all primary and secondary IP ranges - # within a network. Only IPv4 is supported. The range can be any range - # listed in theValid + # within a network. Both IPv4 and IPv6 ranges are supported. For IPv4, + # the range can be any range listed in theValid # ranges list. + # + # For IPv6: + # The range must have a /64 prefix length. + # The range must be omitted, for auto-allocation from Google-defined ULA + # IPv6 range. + # For BYOGUA internal IPv6 secondary range, the range may be specified + # along with the `ipCollection` field. + # If an `ipCollection` is specified, the requested ip_cidr_range must lie + # within the range of the PDP referenced by the `ipCollection` field for + # allocation. + # If `ipCollection` field is specified, but ip_cidr_range is not, + # the range is auto-allocated from the PDP referenced by the `ipCollection` + # field. "rangeName": "A String", # The name associated with this subnetwork secondary range, used when adding - # an alias IP range to a VM instance. + # an alias IP/IPv6 range to a VM instance. # The name must be 1-63 characters long, and comply withRFC1035. # The name must be unique within the subnetwork. - "reservedInternalRange": "A String", # The URL of the reserved internal range. + "reservedInternalRange": "A String", # The URL of the reserved internal range. Only IPv4 is supported. }, ], "selfLink": "A String", # [Output Only] Server-defined URL for the resource. @@ -1859,9 +1881,9 @@Method Details
# interval time reduces the amount of generated flow logs for long-lasting # connections. Default is an interval of 5 seconds per connection. # Valid values: INTERVAL_5_SEC, INTERVAL_30_SEC,INTERVAL_1_MIN, INTERVAL_5_MIN,INTERVAL_10_MIN, INTERVAL_15_MIN. - "allowSubnetCidrRoutesOverlap": True or False, # Whether this subnetwork's ranges can conflict with existing static routes. + "allowSubnetCidrRoutesOverlap": True or False, # Whether this subnetwork's ranges can conflict with existing custom routes. # Setting this to true allows this subnetwork's primary and secondary ranges - # to overlap with (and contain) static routes that have already been + # to overlap with (and contain) custom routes that have already been # configured on the corresponding network. # # For example if a static route has range 10.1.0.0/16, a subnet @@ -1877,8 +1899,6 @@Method Details
# # The default value is false and applies to all existing subnetworks and # automatically created subnetworks. - # - # This field cannot be set to true at resource creation time. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 # text format. "description": "A String", # An optional description of this resource. Provide this property when you @@ -2032,19 +2052,32 @@Method Details
"secondaryIpRanges": [ # An array of configurations for secondary IP ranges for VM instances # contained in this subnetwork. The primary IP of such VM must belong to the # primary ipCidrRange of the subnetwork. The alias IPs may belong to either - # primary or secondary ranges. This field can be updated with apatch request. + # primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges. { # Represents a secondary IP range of a subnetwork. "ipCidrRange": "A String", # The range of IP addresses belonging to this subnetwork secondary range. # Provide this property when you create the subnetwork. Ranges must be # unique and non-overlapping with all primary and secondary IP ranges - # within a network. Only IPv4 is supported. The range can be any range - # listed in theValid + # within a network. Both IPv4 and IPv6 ranges are supported. For IPv4, + # the range can be any range listed in theValid # ranges list. + # + # For IPv6: + # The range must have a /64 prefix length. + # The range must be omitted, for auto-allocation from Google-defined ULA + # IPv6 range. + # For BYOGUA internal IPv6 secondary range, the range may be specified + # along with the `ipCollection` field. + # If an `ipCollection` is specified, the requested ip_cidr_range must lie + # within the range of the PDP referenced by the `ipCollection` field for + # allocation. + # If `ipCollection` field is specified, but ip_cidr_range is not, + # the range is auto-allocated from the PDP referenced by the `ipCollection` + # field. "rangeName": "A String", # The name associated with this subnetwork secondary range, used when adding - # an alias IP range to a VM instance. + # an alias IP/IPv6 range to a VM instance. # The name must be 1-63 characters long, and comply withRFC1035. # The name must be unique within the subnetwork. - "reservedInternalRange": "A String", # The URL of the reserved internal range. + "reservedInternalRange": "A String", # The URL of the reserved internal range. Only IPv4 is supported. }, ], "selfLink": "A String", # [Output Only] Server-defined URL for the resource. @@ -2512,9 +2545,9 @@Method Details
# interval time reduces the amount of generated flow logs for long-lasting # connections. Default is an interval of 5 seconds per connection. # Valid values: INTERVAL_5_SEC, INTERVAL_30_SEC,INTERVAL_1_MIN, INTERVAL_5_MIN,INTERVAL_10_MIN, INTERVAL_15_MIN. - "allowSubnetCidrRoutesOverlap": True or False, # Whether this subnetwork's ranges can conflict with existing static routes. + "allowSubnetCidrRoutesOverlap": True or False, # Whether this subnetwork's ranges can conflict with existing custom routes. # Setting this to true allows this subnetwork's primary and secondary ranges - # to overlap with (and contain) static routes that have already been + # to overlap with (and contain) custom routes that have already been # configured on the corresponding network. # # For example if a static route has range 10.1.0.0/16, a subnet @@ -2530,8 +2563,6 @@Method Details
# # The default value is false and applies to all existing subnetworks and # automatically created subnetworks. - # - # This field cannot be set to true at resource creation time. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 # text format. "description": "A String", # An optional description of this resource. Provide this property when you @@ -2685,19 +2716,32 @@Method Details
"secondaryIpRanges": [ # An array of configurations for secondary IP ranges for VM instances # contained in this subnetwork. The primary IP of such VM must belong to the # primary ipCidrRange of the subnetwork. The alias IPs may belong to either - # primary or secondary ranges. This field can be updated with apatch request. + # primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges. { # Represents a secondary IP range of a subnetwork. "ipCidrRange": "A String", # The range of IP addresses belonging to this subnetwork secondary range. # Provide this property when you create the subnetwork. Ranges must be # unique and non-overlapping with all primary and secondary IP ranges - # within a network. Only IPv4 is supported. The range can be any range - # listed in theValid + # within a network. Both IPv4 and IPv6 ranges are supported. For IPv4, + # the range can be any range listed in theValid # ranges list. + # + # For IPv6: + # The range must have a /64 prefix length. + # The range must be omitted, for auto-allocation from Google-defined ULA + # IPv6 range. + # For BYOGUA internal IPv6 secondary range, the range may be specified + # along with the `ipCollection` field. + # If an `ipCollection` is specified, the requested ip_cidr_range must lie + # within the range of the PDP referenced by the `ipCollection` field for + # allocation. + # If `ipCollection` field is specified, but ip_cidr_range is not, + # the range is auto-allocated from the PDP referenced by the `ipCollection` + # field. "rangeName": "A String", # The name associated with this subnetwork secondary range, used when adding - # an alias IP range to a VM instance. + # an alias IP/IPv6 range to a VM instance. # The name must be 1-63 characters long, and comply withRFC1035. # The name must be unique within the subnetwork. - "reservedInternalRange": "A String", # The URL of the reserved internal range. + "reservedInternalRange": "A String", # The URL of the reserved internal range. Only IPv4 is supported. }, ], "selfLink": "A String", # [Output Only] Server-defined URL for the resource. @@ -2930,6 +2974,7 @@Method Details
"secondaryIpRanges": [ # Secondary IP ranges. { # Secondary IP range of a usable subnetwork. "ipCidrRange": "A String", # The range of IP addresses belonging to this subnetwork secondary range. + # Can be Ipv4 or Ipv6 range. "rangeName": "A String", # The name associated with this subnetwork secondary range, used when adding # an alias IP range to a VM instance. # The name must be 1-63 characters long, and comply withRFC1035. @@ -3070,9 +3115,9 @@Method Details
# interval time reduces the amount of generated flow logs for long-lasting # connections. Default is an interval of 5 seconds per connection. # Valid values: INTERVAL_5_SEC, INTERVAL_30_SEC,INTERVAL_1_MIN, INTERVAL_5_MIN,INTERVAL_10_MIN, INTERVAL_15_MIN. - "allowSubnetCidrRoutesOverlap": True or False, # Whether this subnetwork's ranges can conflict with existing static routes. + "allowSubnetCidrRoutesOverlap": True or False, # Whether this subnetwork's ranges can conflict with existing custom routes. # Setting this to true allows this subnetwork's primary and secondary ranges - # to overlap with (and contain) static routes that have already been + # to overlap with (and contain) custom routes that have already been # configured on the corresponding network. # # For example if a static route has range 10.1.0.0/16, a subnet @@ -3088,8 +3133,6 @@Method Details
# # The default value is false and applies to all existing subnetworks and # automatically created subnetworks. - # - # This field cannot be set to true at resource creation time. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 # text format. "description": "A String", # An optional description of this resource. Provide this property when you @@ -3243,19 +3286,32 @@Method Details
"secondaryIpRanges": [ # An array of configurations for secondary IP ranges for VM instances # contained in this subnetwork. The primary IP of such VM must belong to the # primary ipCidrRange of the subnetwork. The alias IPs may belong to either - # primary or secondary ranges. This field can be updated with apatch request. + # primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges. { # Represents a secondary IP range of a subnetwork. "ipCidrRange": "A String", # The range of IP addresses belonging to this subnetwork secondary range. # Provide this property when you create the subnetwork. Ranges must be # unique and non-overlapping with all primary and secondary IP ranges - # within a network. Only IPv4 is supported. The range can be any range - # listed in theValid + # within a network. Both IPv4 and IPv6 ranges are supported. For IPv4, + # the range can be any range listed in theValid # ranges list. + # + # For IPv6: + # The range must have a /64 prefix length. + # The range must be omitted, for auto-allocation from Google-defined ULA + # IPv6 range. + # For BYOGUA internal IPv6 secondary range, the range may be specified + # along with the `ipCollection` field. + # If an `ipCollection` is specified, the requested ip_cidr_range must lie + # within the range of the PDP referenced by the `ipCollection` field for + # allocation. + # If `ipCollection` field is specified, but ip_cidr_range is not, + # the range is auto-allocated from the PDP referenced by the `ipCollection` + # field. "rangeName": "A String", # The name associated with this subnetwork secondary range, used when adding - # an alias IP range to a VM instance. + # an alias IP/IPv6 range to a VM instance. # The name must be 1-63 characters long, and comply withRFC1035. # The name must be unique within the subnetwork. - "reservedInternalRange": "A String", # The URL of the reserved internal range. + "reservedInternalRange": "A String", # The URL of the reserved internal range. Only IPv4 is supported. }, ], "selfLink": "A String", # [Output Only] Server-defined URL for the resource. diff --git a/docs/dyn/compute_alpha.urlMaps.html b/docs/dyn/compute_alpha.urlMaps.html index 7d9a1dc7cd..7ae0b927f5 100644 --- a/docs/dyn/compute_alpha.urlMaps.html +++ b/docs/dyn/compute_alpha.urlMaps.html @@ -11590,6 +11590,12 @@Method Details
The object takes the form of: { + "backendService": "A String", # If set, this invalidation rule will only apply to requests routed to the + # given backend service or backend bucket. + # For example, for a backend bucket `bb1` in the same scope as the URL map, + # the path would be `projects/my-project/global/backendBuckets/bb1`; and + # for a backend service `bs1` in the same scope as the URL map, the path + # would be `projects/my-project/global/backendServices/bs1`. "cacheTags": [ # A list of cache tags used to identify cached objects. # # @@ -11604,8 +11610,13 @@Method Details
# Up to 10 tags can be specified in a single invalidation request. "A String", ], + "contentType": "A String", # If set, this invalidation rule will only apply to responses with the given + # content-type. Parameters are not allowed and are ignored from the response + # when matching. Wildcards are not allowed. "host": "A String", # If set, this invalidation rule will only apply to requests with a Host # header matching host. + "httpStatus": 42, # If set, this invalidation rule will only apply to responses with the + # given HTTP status. Valid range is 200-599. "path": "A String", } diff --git a/docs/dyn/compute_alpha.zoneVmExtensionPolicies.html b/docs/dyn/compute_alpha.zoneVmExtensionPolicies.html index c8536c5056..067b36663f 100644 --- a/docs/dyn/compute_alpha.zoneVmExtensionPolicies.html +++ b/docs/dyn/compute_alpha.zoneVmExtensionPolicies.html @@ -83,12 +83,21 @@Instance Methods
get(project, zone, vmExtensionPolicy, x__xgafv=None)Retrieves details of a specific zone VM extension policy.
++
+getVmExtension(project, zone, extensionName, x__xgafv=None)Retrieves details of a specific VM extension.
insert(project, zone, body=None, requestId=None, x__xgafv=None)Creates a new zone-level VM extension policy within a project.
Lists all VM extension policies within a specific zone for a project.
+ +Lists all VM extensions within a specific zone for a project.
+ +Retrieves the next page of results.
Retrieves the next page of results.
@@ -459,6 +468,30 @@Method Details
}++getVmExtension(project, zone, extensionName, x__xgafv=None)+Retrieves details of a specific VM extension. + +Args: + project: string, Project ID for this request. (required) + zone: string, Name of the zone for this request. (required) + extensionName: string, A parameter (required) + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # A VM extension that can be installed on a VM. + "name": "A String", # The name of the vm extension. + "versions": [ # The latest 10 versions of the vm extension. + "A String", + ], +}++insert(project, zone, body=None, requestId=None, x__xgafv=None)Creates a new zone-level VM extension policy within a project. @@ -1007,6 +1040,174 @@Method Details
}++ +listVmExtensions(project, zone, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)+Lists all VM extensions within a specific zone for a project. +This is a read-only API. + +Args: + project: string, Required. Project ID for this request. (required) + zone: string, Name of the zone for this request. (required) + filter: string, A filter expression that filters resources listed in the response. Most +Compute resources support two types of filter expressions: +expressions that support regular expressions and expressions that follow +API improvement proposal AIP-160. +These two types of filter expressions cannot be mixed in one request. + +If you want to use AIP-160, your expression must specify the field name, an +operator, and the value that you want to use for filtering. The value +must be a string, a number, or a boolean. The operator +must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. + +For example, if you are filtering Compute Engine instances, you can +exclude instances named `example-instance` by specifying +`name != example-instance`. + +The `:*` comparison can be used to test whether a key has been defined. +For example, to find all objects with `owner` label use: +``` +labels.owner:* +``` + +You can also filter nested fields. For example, you could specify +`scheduling.automaticRestart = false` to include instances only +if they are not scheduled for automatic restarts. You can use filtering +on nested fields to filter based onresource labels. + +To filter on multiple expressions, provide each separate expression within +parentheses. For example: +``` +(scheduling.automaticRestart = true) +(cpuPlatform = "Intel Skylake") +``` +By default, each expression is an `AND` expression. However, you +can include `AND` and `OR` expressions explicitly. +For example: +``` +(cpuPlatform = "Intel Skylake") OR +(cpuPlatform = "Intel Broadwell") AND +(scheduling.automaticRestart = true) +``` + +If you want to use a regular expression, use the `eq` (equal) or `ne` +(not equal) operator against a single un-parenthesized expression with or +without quotes or against multiple parenthesized expressions. Examples: + +`fieldname eq unquoted literal` +`fieldname eq 'single quoted literal'` +`fieldname eq "double quoted literal"` +`(fieldname1 eq literal) (fieldname2 ne "literal")` + +The literal value is interpreted as a regular expression using GoogleRE2 library syntax. +The literal value must match the entire field. + +For example, to filter for instances that do not end with name "instance", +you would use `name ne .*instance`. + +You cannot combine constraints on multiple fields using regular +expressions. + maxResults: integer, The maximum number of results per page that should be returned. +If the number of available results is larger than `maxResults`, +Compute Engine returns a `nextPageToken` that can be used to get +the next page of results in subsequent list requests. Acceptable values are +`0` to `500`, inclusive. (Default: `500`) + orderBy: string, Sorts list results by a certain order. By default, results +are returned in alphanumerical order based on the resource name. + +You can also sort results in descending order based on the creation +timestamp using `orderBy="creationTimestamp desc"`. This sorts +results based on the `creationTimestamp` field in +reverse chronological order (newest result first). Use this to sort +resources like operations so that the newest operation is returned first. + +Currently, only sorting by `name` or +`creationTimestamp desc` is supported. + pageToken: string, Specifies a page token to use. Set `pageToken` to the +`nextPageToken` returned by a previous list request to get +the next page of results. + returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case +of failure. The default value is false. + +For example, when partial success behavior is enabled, aggregatedList for a +single zone scope either returns all resources in the zone or no resources, +with an error code. + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { + "etag": "A String", # Output only. Fingerprint of this resource. A hash of the contents stored + # in this object. This field is used in optimistic locking. This field will + # be ignored when inserting a VmExtensionPolicy. An up-to-date + # fingerprint must be provided in order to update the VmExtensionPolicy. + # + # To see the latest value of the fingerprint, make a get() request to + # retrieve a VmExtensionPolicy. + "id": "A String", # Output only. Unique identifier for the resource; defined by the server. + "items": [ # Output only. A list of VM extensions. + { # A VM extension that can be installed on a VM. + "name": "A String", # The name of the vm extension. + "versions": [ # The latest 10 versions of the vm extension. + "A String", + ], + }, + ], + "kind": "compute#vmExtensionList", # Output only. Type of resource. + "nextPageToken": "A String", # Output only. This token allows you to get the next page of results for + # list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for + # the query parameter pageToken in the next list request. + # Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + "selfLink": "A String", # Output only. Server-defined URL for this resource. + "unreachables": [ # Output only. Unreachable resources. + "A String", + ], + "warning": { # Output only. Informational warning message. + "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute + # Engine returns NO_RESULTS_ON_PAGE if there + # are no results in the response. + "data": [ # [Output Only] Metadata about this warning in key: + # value format. For example: + # + # "data": [ + # { + # "key": "scope", + # "value": "zones/us-east1-d" + # } + { + "key": "A String", # [Output Only] A key that provides more detail on the warning being + # returned. For example, for warnings where there are no results in a list + # request for a particular zone, this key might be scope and + # the key value might be the zone name. Other examples might be a key + # indicating a deprecated resource and a suggested replacement, or a + # warning about invalid network settings (for example, if an instance + # attempts to perform IP forwarding but is not enabled for IP forwarding). + "value": "A String", # [Output Only] A warning data value corresponding to the key. + }, + ], + "message": "A String", # [Output Only] A human-readable description of the warning code. + }, +}+++listVmExtensions_next()+Retrieves the next page of results. + + Args: + previous_request: The request for the previous page. (required) + previous_response: The response from the request for the previous page. (required) + + Returns: + A request object that you can call 'execute()' on to request the next + page. Returns None if there are no more items in the collection. ++list_next()Retrieves the next page of results. diff --git a/docs/dyn/compute_beta.advice.html b/docs/dyn/compute_beta.advice.html index 8ec2fb33d2..5f458da43b 100644 --- a/docs/dyn/compute_beta.advice.html +++ b/docs/dyn/compute_beta.advice.html @@ -138,11 +138,9 @@@@ -543,6 +562,25 @@Method Details
# Use for GPU reservations. }, }, - "timeRangeSpec": { # A flexible specification of a time range that has 3 points of # Specification of a time range in which the resources may be created. + "timeRangeSpec": { # Specifies a flexible time range with flexible start time and duration. # Specification of a time range in which the resources may be created. # The time range specifies start of resource use and planned end of resource # use. - # flexibility: (1) a flexible start time, (2) a flexible end time, (3) a - # flexible duration. # # It is possible to specify a contradictory time range that cannot be matched # by any Interval. This causes a validation error. diff --git a/docs/dyn/compute_beta.disks.html b/docs/dyn/compute_beta.disks.html index d6999e371a..208d34bc69 100644 --- a/docs/dyn/compute_beta.disks.html +++ b/docs/dyn/compute_beta.disks.html @@ -1186,6 +1186,16 @@Method Details
{ # A transient resource used in compute.disks.bulkInsert and # compute.regionDisks.bulkInsert. It is only used to process # requests and is not persisted. + "instantSnapshotGroupParameters": { # The parameters for the instant snapshot group. + "sourceInstantSnapshotGroup": "A String", # The source instant snapshot group used to create disks. You can provide + # this as a partial or full URL to the resource. For example, the following + # are valid values: + # + # + # - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instantSnapshotGroups/instantSnapshotGroup + # - projects/project/zones/zone/instantSnapshotGroups/instantSnapshotGroup + # - zones/zone/instantSnapshotGroups/instantSnapshotGroup + }, "sourceConsistencyGroupPolicy": "A String", # The URL of the DiskConsistencyGroupPolicy for the group of disks to clone. # This may be a full or partial URL, such as: # diff --git a/docs/dyn/compute_beta.externalVpnGateways.html b/docs/dyn/compute_beta.externalVpnGateways.html index 386fe0fae2..fd931f64e2 100644 --- a/docs/dyn/compute_beta.externalVpnGateways.html +++ b/docs/dyn/compute_beta.externalVpnGateways.html @@ -464,6 +464,25 @@Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Input only. [Input Only] Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Tag keys/values directly bound to this resource. + # Tag keys and values have the same definition as resource + # manager tags. The field is allowed for INSERT + # only. The keys/values to set on the resource should be specified in + # either ID { : } or Namespaced format + # { : }. + # For example the following are valid inputs: + # * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"} + # * {"123/environment" : "production", "345/abc" : "xyz"} + # Note: + # * Invalid combinations of ID & namespaced format is not supported. For + # instance: {"123/environment" : "tagValues/444"} is invalid. + # * Inconsistent format is not supported. For instance: + # {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid. + "a_key": "A String", + }, + }, "redundancyType": "A String", # Indicates the user-supplied redundancy type of this external VPN gateway. "selfLink": "A String", # Output only. [Output Only] Server-defined URL for the resource. }Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Input only. [Input Only] Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Tag keys/values directly bound to this resource. + # Tag keys and values have the same definition as resource + # manager tags. The field is allowed for INSERT + # only. The keys/values to set on the resource should be specified in + # either ID { : } or Namespaced format + # { : }. + # For example the following are valid inputs: + # * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"} + # * {"123/environment" : "production", "345/abc" : "xyz"} + # Note: + # * Invalid combinations of ID & namespaced format is not supported. For + # instance: {"123/environment" : "tagValues/444"} is invalid. + # * Inconsistent format is not supported. For instance: + # {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid. + "a_key": "A String", + }, + }, "redundancyType": "A String", # Indicates the user-supplied redundancy type of this external VPN gateway. "selfLink": "A String", # Output only. [Output Only] Server-defined URL for the resource. } @@ -986,6 +1024,25 @@Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Input only. [Input Only] Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Tag keys/values directly bound to this resource. + # Tag keys and values have the same definition as resource + # manager tags. The field is allowed for INSERT + # only. The keys/values to set on the resource should be specified in + # either ID { : } or Namespaced format + # { : }. + # For example the following are valid inputs: + # * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"} + # * {"123/environment" : "production", "345/abc" : "xyz"} + # Note: + # * Invalid combinations of ID & namespaced format is not supported. For + # instance: {"123/environment" : "tagValues/444"} is invalid. + # * Inconsistent format is not supported. For instance: + # {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid. + "a_key": "A String", + }, + }, "redundancyType": "A String", # Indicates the user-supplied redundancy type of this external VPN gateway. "selfLink": "A String", # Output only. [Output Only] Server-defined URL for the resource. }, diff --git a/docs/dyn/compute_beta.forwardingRules.html b/docs/dyn/compute_beta.forwardingRules.html index f6b0f9bd9a..a224356d62 100644 --- a/docs/dyn/compute_beta.forwardingRules.html +++ b/docs/dyn/compute_beta.forwardingRules.html @@ -312,14 +312,6 @@Method Details
# cannot be changed after the forwarding rule is created. "allowPscGlobalAccess": True or False, # This is used in PSC consumer ForwardingRule to control whether the PSC # endpoint can be accessed from another region. - "allowPscPacketInjection": True or False, # This is used in PSC consumer ForwardingRule to control whether the producer - # is allowed to inject packets into the consumer's network. If set to true, - # the target service attachment must have tunneling enabled and - # TunnelingConfig.RoutingMode set to PACKET_INJECTION - # Non-PSC forwarding rules should not use this field. - # - # This field was never released to any customers and is deprecated and - # will be removed in the future. "backendService": "A String", # Identifies the backend service to which the forwarding rule sends traffic. # Required for internal and external passthrough Network Load Balancers; # must be omitted for all other load balancer types. @@ -1091,14 +1083,6 @@Method Details
# cannot be changed after the forwarding rule is created. "allowPscGlobalAccess": True or False, # This is used in PSC consumer ForwardingRule to control whether the PSC # endpoint can be accessed from another region. - "allowPscPacketInjection": True or False, # This is used in PSC consumer ForwardingRule to control whether the producer - # is allowed to inject packets into the consumer's network. If set to true, - # the target service attachment must have tunneling enabled and - # TunnelingConfig.RoutingMode set to PACKET_INJECTION - # Non-PSC forwarding rules should not use this field. - # - # This field was never released to any customers and is deprecated and - # will be removed in the future. "backendService": "A String", # Identifies the backend service to which the forwarding rule sends traffic. # Required for internal and external passthrough Network Load Balancers; # must be omitted for all other load balancer types. @@ -1500,14 +1484,6 @@Method Details
# cannot be changed after the forwarding rule is created. "allowPscGlobalAccess": True or False, # This is used in PSC consumer ForwardingRule to control whether the PSC # endpoint can be accessed from another region. - "allowPscPacketInjection": True or False, # This is used in PSC consumer ForwardingRule to control whether the producer - # is allowed to inject packets into the consumer's network. If set to true, - # the target service attachment must have tunneling enabled and - # TunnelingConfig.RoutingMode set to PACKET_INJECTION - # Non-PSC forwarding rules should not use this field. - # - # This field was never released to any customers and is deprecated and - # will be removed in the future. "backendService": "A String", # Identifies the backend service to which the forwarding rule sends traffic. # Required for internal and external passthrough Network Load Balancers; # must be omitted for all other load balancer types. @@ -2272,14 +2248,6 @@Method Details
# cannot be changed after the forwarding rule is created. "allowPscGlobalAccess": True or False, # This is used in PSC consumer ForwardingRule to control whether the PSC # endpoint can be accessed from another region. - "allowPscPacketInjection": True or False, # This is used in PSC consumer ForwardingRule to control whether the producer - # is allowed to inject packets into the consumer's network. If set to true, - # the target service attachment must have tunneling enabled and - # TunnelingConfig.RoutingMode set to PACKET_INJECTION - # Non-PSC forwarding rules should not use this field. - # - # This field was never released to any customers and is deprecated and - # will be removed in the future. "backendService": "A String", # Identifies the backend service to which the forwarding rule sends traffic. # Required for internal and external passthrough Network Load Balancers; # must be omitted for all other load balancer types. @@ -2733,14 +2701,6 @@Method Details
# cannot be changed after the forwarding rule is created. "allowPscGlobalAccess": True or False, # This is used in PSC consumer ForwardingRule to control whether the PSC # endpoint can be accessed from another region. - "allowPscPacketInjection": True or False, # This is used in PSC consumer ForwardingRule to control whether the producer - # is allowed to inject packets into the consumer's network. If set to true, - # the target service attachment must have tunneling enabled and - # TunnelingConfig.RoutingMode set to PACKET_INJECTION - # Non-PSC forwarding rules should not use this field. - # - # This field was never released to any customers and is deprecated and - # will be removed in the future. "backendService": "A String", # Identifies the backend service to which the forwarding rule sends traffic. # Required for internal and external passthrough Network Load Balancers; # must be omitted for all other load balancer types. diff --git a/docs/dyn/compute_beta.globalForwardingRules.html b/docs/dyn/compute_beta.globalForwardingRules.html index be0e191b89..3ec25c7697 100644 --- a/docs/dyn/compute_beta.globalForwardingRules.html +++ b/docs/dyn/compute_beta.globalForwardingRules.html @@ -493,14 +493,6 @@Method Details
# cannot be changed after the forwarding rule is created. "allowPscGlobalAccess": True or False, # This is used in PSC consumer ForwardingRule to control whether the PSC # endpoint can be accessed from another region. - "allowPscPacketInjection": True or False, # This is used in PSC consumer ForwardingRule to control whether the producer - # is allowed to inject packets into the consumer's network. If set to true, - # the target service attachment must have tunneling enabled and - # TunnelingConfig.RoutingMode set to PACKET_INJECTION - # Non-PSC forwarding rules should not use this field. - # - # This field was never released to any customers and is deprecated and - # will be removed in the future. "backendService": "A String", # Identifies the backend service to which the forwarding rule sends traffic. # Required for internal and external passthrough Network Load Balancers; # must be omitted for all other load balancer types. @@ -901,14 +893,6 @@Method Details
# cannot be changed after the forwarding rule is created. "allowPscGlobalAccess": True or False, # This is used in PSC consumer ForwardingRule to control whether the PSC # endpoint can be accessed from another region. - "allowPscPacketInjection": True or False, # This is used in PSC consumer ForwardingRule to control whether the producer - # is allowed to inject packets into the consumer's network. If set to true, - # the target service attachment must have tunneling enabled and - # TunnelingConfig.RoutingMode set to PACKET_INJECTION - # Non-PSC forwarding rules should not use this field. - # - # This field was never released to any customers and is deprecated and - # will be removed in the future. "backendService": "A String", # Identifies the backend service to which the forwarding rule sends traffic. # Required for internal and external passthrough Network Load Balancers; # must be omitted for all other load balancer types. @@ -1672,14 +1656,6 @@Method Details
# cannot be changed after the forwarding rule is created. "allowPscGlobalAccess": True or False, # This is used in PSC consumer ForwardingRule to control whether the PSC # endpoint can be accessed from another region. - "allowPscPacketInjection": True or False, # This is used in PSC consumer ForwardingRule to control whether the producer - # is allowed to inject packets into the consumer's network. If set to true, - # the target service attachment must have tunneling enabled and - # TunnelingConfig.RoutingMode set to PACKET_INJECTION - # Non-PSC forwarding rules should not use this field. - # - # This field was never released to any customers and is deprecated and - # will be removed in the future. "backendService": "A String", # Identifies the backend service to which the forwarding rule sends traffic. # Required for internal and external passthrough Network Load Balancers; # must be omitted for all other load balancer types. @@ -2132,14 +2108,6 @@Method Details
# cannot be changed after the forwarding rule is created. "allowPscGlobalAccess": True or False, # This is used in PSC consumer ForwardingRule to control whether the PSC # endpoint can be accessed from another region. - "allowPscPacketInjection": True or False, # This is used in PSC consumer ForwardingRule to control whether the producer - # is allowed to inject packets into the consumer's network. If set to true, - # the target service attachment must have tunneling enabled and - # TunnelingConfig.RoutingMode set to PACKET_INJECTION - # Non-PSC forwarding rules should not use this field. - # - # This field was never released to any customers and is deprecated and - # will be removed in the future. "backendService": "A String", # Identifies the backend service to which the forwarding rule sends traffic. # Required for internal and external passthrough Network Load Balancers; # must be omitted for all other load balancer types. diff --git a/docs/dyn/compute_beta.html b/docs/dyn/compute_beta.html index c59cca65b5..843604ba71 100644 --- a/docs/dyn/compute_beta.html +++ b/docs/dyn/compute_beta.html @@ -239,6 +239,11 @@Instance Methods
Returns the instances Resource.
+ +Returns the instantSnapshotGroups Resource.
+ @@ -454,6 +459,11 @@Instance Methods
Returns the regionInstances Resource.
++
+regionInstantSnapshotGroups()+Returns the regionInstantSnapshotGroups Resource.
+ diff --git a/docs/dyn/compute_beta.instantSnapshotGroups.html b/docs/dyn/compute_beta.instantSnapshotGroups.html new file mode 100644 index 0000000000..f7c3e967be --- /dev/null +++ b/docs/dyn/compute_beta.instantSnapshotGroups.html @@ -0,0 +1,2240 @@ + + + +Compute Engine API . instantSnapshotGroups
+Instance Methods
++
+close()Close httplib2 connections.
++
+delete(project, zone, instantSnapshotGroup, requestId=None, x__xgafv=None)deletes a Zonal InstantSnapshotGroup resource
++
+get(project, zone, instantSnapshotGroup, x__xgafv=None)returns the specified InstantSnapshotGroup resource in the specified zone.
++
+getIamPolicy(project, zone, resource, optionsRequestedPolicyVersion=None, x__xgafv=None)Gets the access control policy for a resource. May be empty if no such
++
+insert(project, zone, body=None, requestId=None, sourceConsistencyGroup=None, x__xgafv=None)inserts a Zonal InstantSnapshotGroup resource
+ +retrieves the list of InstantSnapshotGroup resources contained within
+ +Retrieves the next page of results.
++
+setIamPolicy(project, zone, resource, body=None, x__xgafv=None)Sets the access control policy on the specified resource.
++
+testIamPermissions(project, zone, resource, body=None, x__xgafv=None)Returns permissions that a caller has on the specified resource.
+Method Details
+++ +close()+Close httplib2 connections.+++ +delete(project, zone, instantSnapshotGroup, requestId=None, x__xgafv=None)+deletes a Zonal InstantSnapshotGroup resource + +Args: + project: string, Project ID for this request. (required) + zone: string, The name of the zone for this request. (required) + instantSnapshotGroup: string, Name of the InstantSnapshot resource to delete. (required) + requestId: string, An optional request ID to identify requests. Specify a unique request ID so +that if you must retry your request, the server will know to ignore the +request if it has already been completed. + +For example, consider a situation where you make an initial request and +the request times out. If you make the request again with the same +request ID, the server can check if original operation with the same +request ID was received, and if so, will ignore the second request. This +prevents clients from accidentally creating duplicate commitments. + +The request ID must be +a valid UUID with the exception that zero UUID is not supported +(00000000-0000-0000-0000-000000000000). + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # Represents an Operation resource. + # + # Google Compute Engine has three Operation resources: + # + # * [Global](/compute/docs/reference/rest/beta/globalOperations) + # * [Regional](/compute/docs/reference/rest/beta/regionOperations) + # * [Zonal](/compute/docs/reference/rest/beta/zoneOperations) + # + # You can use an operation resource to manage asynchronous API requests. + # For more information, readHandling + # API responses. + # + # Operations can be global, regional or zonal. + # + # - For global operations, use the `globalOperations` + # resource. + # - For regional operations, use the + # `regionOperations` resource. + # - For zonal operations, use + # the `zoneOperations` resource. + # + # + # + # For more information, read + # Global, Regional, and Zonal Resources. + # + # Note that completed Operation resources have a limited + # retention period. + "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. + # Not present otherwise. + "creationTimestamp": "A String", # [Deprecated] This field is deprecated. + "description": "A String", # [Output Only] A textual description of the operation, which is + # set when the operation is created. + "endTime": "A String", # [Output Only] The time that this operation was completed. This value is inRFC3339 + # text format. + "error": { # [Output Only] If errors are generated during processing of the operation, + # this field will be populated. + "errors": [ # [Output Only] The array of errors encountered while processing this + # operation. + { + "code": "A String", # [Output Only] The error type identifier for this error. + "errorDetails": [ # [Output Only] An optional list of messages that contain the error + # details. There is a set of defined message types to use for providing + # details.The syntax depends on the error code. For example, + # QuotaExceededInfo will have details when the error code is + # QUOTA_EXCEEDED. + { + "errorInfo": { # Describes the cause of the error with structured details. + # + # Example of an error when contacting the "pubsub.googleapis.com" API when it + # is not enabled: + # + # { "reason": "API_DISABLED" + # "domain": "googleapis.com" + # "metadata": { + # "resource": "projects/123", + # "service": "pubsub.googleapis.com" + # } + # } + # + # This response indicates that the pubsub.googleapis.com API is not enabled. + # + # Example of an error that is returned when attempting to create a Spanner + # instance in a region that is out of stock: + # + # { "reason": "STOCKOUT" + # "domain": "spanner.googleapis.com", + # "metadata": { + # "availableRegions": "us-central1,us-east2" + # } + # } + "domain": "A String", # The logical grouping to which the "reason" belongs. The error domain + # is typically the registered service name of the tool or product that + # generates the error. Example: "pubsub.googleapis.com". If the error is + # generated by some common infrastructure, the error domain must be a + # globally unique value that identifies the infrastructure. For Google API + # infrastructure, the error domain is "googleapis.com". + "metadatas": { # Additional structured details about this error. + # + # Keys must match a regular expression of `a-z+` but should + # ideally be lowerCamelCase. Also, they must be limited to 64 characters in + # length. When identifying the current value of an exceeded limit, the units + # should be contained in the key, not the value. For example, rather than + # `{"instanceLimit": "100/request"}`, should be returned as, + # `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of + # instances that can be created in a single (batch) request. + "a_key": "A String", + }, + "reason": "A String", # The reason of the error. This is a constant value that identifies the + # proximate cause of the error. Error reasons are unique within a particular + # domain of errors. This should be at most 63 characters and match a + # regular expression of `A-Z+[A-Z0-9]`, which represents + # UPPER_SNAKE_CASE. + }, + "help": { # Provides links to documentation or for performing an out of band action. + # + # For example, if a quota check failed with an error indicating the calling + # project hasn't enabled the accessed service, this can contain a URL pointing + # directly to the right place in the developer console to flip the bit. + "links": [ # URL(s) pointing to additional information on handling the current error. + { # Describes a URL link. + "description": "A String", # Describes what the link offers. + "url": "A String", # The URL of the link. + }, + ], + }, + "localizedMessage": { # Provides a localized error message that is safe to return to the user + # which can be attached to an RPC error. + "locale": "A String", # The locale used following the specification defined at + # https://www.rfc-editor.org/rfc/bcp/bcp47.txt. + # Examples are: "en-US", "fr-CH", "es-MX" + "message": "A String", # The localized error message in the above locale. + }, + "quotaInfo": { # Additional details for quota exceeded error for resource quota. + "dimensions": { # The map holding related quota dimensions. + "a_key": "A String", + }, + "futureLimit": 3.14, # Future quota limit being rolled out. The limit's unit depends on the quota + # type or metric. + "limit": 3.14, # Current effective quota limit. The limit's unit depends on the quota type + # or metric. + "limitName": "A String", # The name of the quota limit. + "metricName": "A String", # The Compute Engine quota metric name. + "rolloutStatus": "A String", # Rollout status of the future quota limit. + }, + }, + ], + "location": "A String", # [Output Only] Indicates the field in the request that caused the error. + # This property is optional. + "message": "A String", # [Output Only] An optional, human-readable error message. + }, + ], + }, + "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error + # message that was returned, such as `NOT FOUND`. + "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error + # status code that was returned. For example, a `404` means the + # resource was not found. + "id": "A String", # [Output Only] The unique identifier for the operation. This identifier is + # defined by the server. + "insertTime": "A String", # [Output Only] The time that this operation was requested. + # This value is inRFC3339 + # text format. + "instancesBulkInsertOperationMetadata": { + "perLocationStatus": { # Status information per location (location name is key). + # Example key: zones/us-central1-a + "a_key": { + "createdVmCount": 42, # [Output Only] Count of VMs successfully created so far. + "deletedVmCount": 42, # [Output Only] Count of VMs that got deleted during rollback. + "failedToCreateVmCount": 42, # [Output Only] Count of VMs that started creating but encountered an + # error. + "status": "A String", # [Output Only] Creation status of BulkInsert operation - information + # if the flow is rolling forward or rolling back. + "targetVmCount": 42, # [Output Only] Count of VMs originally planned to be created. + }, + }, + }, + "kind": "compute#operation", # Output only. [Output Only] Type of the resource. Always `compute#operation` for + # Operation resources. + "name": "A String", # [Output Only] Name of the operation. + "operationGroupId": "A String", # Output only. [Output Only] An ID that represents a group of operations, such as when a + # group of operations results from a `bulkInsert` API request. + "operationType": "A String", # [Output Only] The type of operation, such as `insert`, + # `update`, or `delete`, and so on. + "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. + # There is no requirement that this be linear or support any granularity of + # operations. This should not be used to guess when the operation will be + # complete. This number should monotonically increase as the operation + # progresses. + "region": "A String", # [Output Only] The URL of the region where the operation resides. Only + # applicable when performing regional operations. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "setCommonInstanceMetadataOperationMetadata": { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata, + # this field will contain information on all underlying zonal actions and + # their state. + "clientOperationId": "A String", # [Output Only] The client operation id. + "perLocationOperations": { # [Output Only] Status information per location (location name is key). + # Example key: zones/us-central1-a + "a_key": { + "error": { # The `Status` type defines a logical error model that is suitable for # [Output Only] If state is `ABANDONED` or `FAILED`, this field is + # populated. + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). Each `Status` message contains + # three pieces of data: error code, error message, and error details. + # + # You can find out more about this error model and how to work with it in the + # [API Design Guide](https://cloud.google.com/apis/design/errors). + "code": 42, # The status code, which should be an enum value of google.rpc.Code. + "details": [ # A list of messages that carry the error details. There is a common set of + # message types for APIs to use. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + "message": "A String", # A developer-facing error message, which should be in English. Any + # user-facing error message should be localized and sent in the + # google.rpc.Status.details field, or localized by the client. + }, + "state": "A String", # [Output Only] Status of the action, which can be one of the following: + # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`. + }, + }, + }, + "startTime": "A String", # [Output Only] The time that this operation was started by the server. + # This value is inRFC3339 + # text format. + "status": "A String", # [Output Only] The status of the operation, which can be one of the + # following: + # `PENDING`, `RUNNING`, or `DONE`. + "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the + # operation. + "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation + # of the target resource. + "targetLink": "A String", # [Output Only] The URL of the resource that the operation modifies. For + # operations related to creating a snapshot, this points to the disk + # that the snapshot was created from. + "user": "A String", # [Output Only] User who requested the operation, for example: + # `user@example.com` or + # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`. + "warnings": [ # [Output Only] If warning messages are generated during processing of the + # operation, this field will be populated. + { + "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute + # Engine returns NO_RESULTS_ON_PAGE if there + # are no results in the response. + "data": [ # [Output Only] Metadata about this warning in key: + # value format. For example: + # + # "data": [ + # { + # "key": "scope", + # "value": "zones/us-east1-d" + # } + { + "key": "A String", # [Output Only] A key that provides more detail on the warning being + # returned. For example, for warnings where there are no results in a list + # request for a particular zone, this key might be scope and + # the key value might be the zone name. Other examples might be a key + # indicating a deprecated resource and a suggested replacement, or a + # warning about invalid network settings (for example, if an instance + # attempts to perform IP forwarding but is not enabled for IP forwarding). + "value": "A String", # [Output Only] A warning data value corresponding to the key. + }, + ], + "message": "A String", # [Output Only] A human-readable description of the warning code. + }, + ], + "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only + # applicable when performing per-zone operations. +}+++ +get(project, zone, instantSnapshotGroup, x__xgafv=None)+returns the specified InstantSnapshotGroup resource in the specified zone. + +Args: + project: string, Project ID for this request. (required) + zone: string, The name of the zone for this request. (required) + instantSnapshotGroup: string, Name of the InstantSnapshotGroup resource to return. (required) + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # Represents an InstantSnapshotGroup resource. + # + # An instant snapshot group is a set of instant snapshots that represents a + # point in time state of a consistency group. + "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 + # text format. + "description": "A String", # Optional. An optional description of this resource. Provide this property when you + # create the resource. + "id": "A String", # Output only. [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + "kind": "compute#instantSnapshotGroup", # Output only. [Output Only] Type of the resource. Alwayscompute#instantSnapshotGroup for InstantSnapshotGroup + # resources. + "name": "A String", # Identifier. Name of the resource; provided by the client when the resource is created. + # The name must be 1-63 characters long, and comply withRFC1035. + # Specifically, the name must be 1-63 characters long and match the regular + # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + # character must be a lowercase letter, and all following characters must be + # a dash, lowercase letter, or digit, except the last character, which cannot + # be a dash. + "region": "A String", # Output only. [Output Only] URL of the region where the instant snapshot group resides. + # You must specify this field as part of the HTTP request URL. It is + # not settable as a field in the request body. + "resourceStatus": { + "consistencyMembershipResolutionTime": "A String", # Output only. [Output Only] + "sourceInfo": { # Output only. [Output Only] + "consistencyGroup": "A String", + "consistencyGroupId": "A String", + }, + }, + "selfLink": "A String", # Output only. [Output Only] Server-defined URL for the resource. + "selfLinkWithId": "A String", # Output only. [Output Only] Server-defined URL for this resource's resource id. + "sourceConsistencyGroup": "A String", + "status": "A String", # Output only. [Output Only] + "zone": "A String", # Output only. [Output Only] URL of the zone where the instant snapshot group resides. + # You must specify this field as part of the HTTP request URL. It is + # not settable as a field in the request body. +}+++ +getIamPolicy(project, zone, resource, optionsRequestedPolicyVersion=None, x__xgafv=None)+Gets the access control policy for a resource. May be empty if no such +policy or resource exists. + +Args: + project: string, Project ID for this request. (required) + zone: string, The name of the zone for this request. (required) + resource: string, Name or id of the resource for this request. (required) + optionsRequestedPolicyVersion: integer, Requested IAM Policy version. + 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/). + "auditConfigs": [ # Specifies cloud audit logging configuration for this policy. + { # Specifies the audit configuration for a service. + # The configuration determines which permission types are logged, and what + # identities, if any, are exempted from logging. + # An AuditConfig must have one or more AuditLogConfigs. + # + # If there are AuditConfigs for both `allServices` and a specific service, + # the union of the two AuditConfigs is used for that service: the log_types + # specified in each AuditConfig are enabled, and the exempted_members in each + # AuditLogConfig are exempted. + # + # Example Policy with multiple AuditConfigs: + # + # { + # "audit_configs": [ + # { + # "service": "allServices", + # "audit_log_configs": [ + # { + # "log_type": "DATA_READ", + # "exempted_members": [ + # "user:jose@example.com" + # ] + # }, + # { + # "log_type": "DATA_WRITE" + # }, + # { + # "log_type": "ADMIN_READ" + # } + # ] + # }, + # { + # "service": "sampleservice.googleapis.com", + # "audit_log_configs": [ + # { + # "log_type": "DATA_READ" + # }, + # { + # "log_type": "DATA_WRITE", + # "exempted_members": [ + # "user:aliya@example.com" + # ] + # } + # ] + # } + # ] + # } + # + # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ + # logging. It also exempts `jose@example.com` from DATA_READ logging, and + # `aliya@example.com` from DATA_WRITE logging. + "auditLogConfigs": [ # The configuration for logging of each type of permission. + { # Provides the configuration for logging a type of permissions. + # Example: + # + # { + # "audit_log_configs": [ + # { + # "log_type": "DATA_READ", + # "exempted_members": [ + # "user:jose@example.com" + # ] + # }, + # { + # "log_type": "DATA_WRITE" + # } + # ] + # } + # + # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting + # jose@example.com from DATA_READ logging. + "exemptedMembers": [ # Specifies the identities that do not cause logging for this type of + # permission. + # Follows the same format of Binding.members. + "A String", + ], + "logType": "A String", # The log type that this config enables. + }, + ], + "service": "A String", # Specifies a service that will be enabled for audit logging. + # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. + # `allServices` is a special value that covers all services. + }, + ], + "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) # 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). + # 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. + "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). +}+++ +insert(project, zone, body=None, requestId=None, sourceConsistencyGroup=None, x__xgafv=None)+inserts a Zonal InstantSnapshotGroup resource + +Args: + project: string, Project ID for this request. (required) + zone: string, Name of the zone for this request. (required) + body: object, The request body. + The object takes the form of: + +{ # Represents an InstantSnapshotGroup resource. + # + # An instant snapshot group is a set of instant snapshots that represents a + # point in time state of a consistency group. + "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 + # text format. + "description": "A String", # Optional. An optional description of this resource. Provide this property when you + # create the resource. + "id": "A String", # Output only. [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + "kind": "compute#instantSnapshotGroup", # Output only. [Output Only] Type of the resource. Alwayscompute#instantSnapshotGroup for InstantSnapshotGroup + # resources. + "name": "A String", # Identifier. Name of the resource; provided by the client when the resource is created. + # The name must be 1-63 characters long, and comply withRFC1035. + # Specifically, the name must be 1-63 characters long and match the regular + # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + # character must be a lowercase letter, and all following characters must be + # a dash, lowercase letter, or digit, except the last character, which cannot + # be a dash. + "region": "A String", # Output only. [Output Only] URL of the region where the instant snapshot group resides. + # You must specify this field as part of the HTTP request URL. It is + # not settable as a field in the request body. + "resourceStatus": { + "consistencyMembershipResolutionTime": "A String", # Output only. [Output Only] + "sourceInfo": { # Output only. [Output Only] + "consistencyGroup": "A String", + "consistencyGroupId": "A String", + }, + }, + "selfLink": "A String", # Output only. [Output Only] Server-defined URL for the resource. + "selfLinkWithId": "A String", # Output only. [Output Only] Server-defined URL for this resource's resource id. + "sourceConsistencyGroup": "A String", + "status": "A String", # Output only. [Output Only] + "zone": "A String", # Output only. [Output Only] URL of the zone where the instant snapshot group resides. + # You must specify this field as part of the HTTP request URL. It is + # not settable as a field in the request body. +} + + requestId: string, An optional request ID to identify requests. Specify a unique request ID so +that if you must retry your request, the server will know to ignore the +request if it has already been completed. + +For example, consider a situation where you make an initial request and +the request times out. If you make the request again with the same +request ID, the server can check if original operation with the same +request ID was received, and if so, will ignore the second request. This +prevents clients from accidentally creating duplicate commitments. + +The request ID must be +a valid UUID with the exception that zero UUID is not supported +(00000000-0000-0000-0000-000000000000). + sourceConsistencyGroup: string, begin_interface: MixerMutationRequestBuilder + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # Represents an Operation resource. + # + # Google Compute Engine has three Operation resources: + # + # * [Global](/compute/docs/reference/rest/beta/globalOperations) + # * [Regional](/compute/docs/reference/rest/beta/regionOperations) + # * [Zonal](/compute/docs/reference/rest/beta/zoneOperations) + # + # You can use an operation resource to manage asynchronous API requests. + # For more information, readHandling + # API responses. + # + # Operations can be global, regional or zonal. + # + # - For global operations, use the `globalOperations` + # resource. + # - For regional operations, use the + # `regionOperations` resource. + # - For zonal operations, use + # the `zoneOperations` resource. + # + # + # + # For more information, read + # Global, Regional, and Zonal Resources. + # + # Note that completed Operation resources have a limited + # retention period. + "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. + # Not present otherwise. + "creationTimestamp": "A String", # [Deprecated] This field is deprecated. + "description": "A String", # [Output Only] A textual description of the operation, which is + # set when the operation is created. + "endTime": "A String", # [Output Only] The time that this operation was completed. This value is inRFC3339 + # text format. + "error": { # [Output Only] If errors are generated during processing of the operation, + # this field will be populated. + "errors": [ # [Output Only] The array of errors encountered while processing this + # operation. + { + "code": "A String", # [Output Only] The error type identifier for this error. + "errorDetails": [ # [Output Only] An optional list of messages that contain the error + # details. There is a set of defined message types to use for providing + # details.The syntax depends on the error code. For example, + # QuotaExceededInfo will have details when the error code is + # QUOTA_EXCEEDED. + { + "errorInfo": { # Describes the cause of the error with structured details. + # + # Example of an error when contacting the "pubsub.googleapis.com" API when it + # is not enabled: + # + # { "reason": "API_DISABLED" + # "domain": "googleapis.com" + # "metadata": { + # "resource": "projects/123", + # "service": "pubsub.googleapis.com" + # } + # } + # + # This response indicates that the pubsub.googleapis.com API is not enabled. + # + # Example of an error that is returned when attempting to create a Spanner + # instance in a region that is out of stock: + # + # { "reason": "STOCKOUT" + # "domain": "spanner.googleapis.com", + # "metadata": { + # "availableRegions": "us-central1,us-east2" + # } + # } + "domain": "A String", # The logical grouping to which the "reason" belongs. The error domain + # is typically the registered service name of the tool or product that + # generates the error. Example: "pubsub.googleapis.com". If the error is + # generated by some common infrastructure, the error domain must be a + # globally unique value that identifies the infrastructure. For Google API + # infrastructure, the error domain is "googleapis.com". + "metadatas": { # Additional structured details about this error. + # + # Keys must match a regular expression of `a-z+` but should + # ideally be lowerCamelCase. Also, they must be limited to 64 characters in + # length. When identifying the current value of an exceeded limit, the units + # should be contained in the key, not the value. For example, rather than + # `{"instanceLimit": "100/request"}`, should be returned as, + # `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of + # instances that can be created in a single (batch) request. + "a_key": "A String", + }, + "reason": "A String", # The reason of the error. This is a constant value that identifies the + # proximate cause of the error. Error reasons are unique within a particular + # domain of errors. This should be at most 63 characters and match a + # regular expression of `A-Z+[A-Z0-9]`, which represents + # UPPER_SNAKE_CASE. + }, + "help": { # Provides links to documentation or for performing an out of band action. + # + # For example, if a quota check failed with an error indicating the calling + # project hasn't enabled the accessed service, this can contain a URL pointing + # directly to the right place in the developer console to flip the bit. + "links": [ # URL(s) pointing to additional information on handling the current error. + { # Describes a URL link. + "description": "A String", # Describes what the link offers. + "url": "A String", # The URL of the link. + }, + ], + }, + "localizedMessage": { # Provides a localized error message that is safe to return to the user + # which can be attached to an RPC error. + "locale": "A String", # The locale used following the specification defined at + # https://www.rfc-editor.org/rfc/bcp/bcp47.txt. + # Examples are: "en-US", "fr-CH", "es-MX" + "message": "A String", # The localized error message in the above locale. + }, + "quotaInfo": { # Additional details for quota exceeded error for resource quota. + "dimensions": { # The map holding related quota dimensions. + "a_key": "A String", + }, + "futureLimit": 3.14, # Future quota limit being rolled out. The limit's unit depends on the quota + # type or metric. + "limit": 3.14, # Current effective quota limit. The limit's unit depends on the quota type + # or metric. + "limitName": "A String", # The name of the quota limit. + "metricName": "A String", # The Compute Engine quota metric name. + "rolloutStatus": "A String", # Rollout status of the future quota limit. + }, + }, + ], + "location": "A String", # [Output Only] Indicates the field in the request that caused the error. + # This property is optional. + "message": "A String", # [Output Only] An optional, human-readable error message. + }, + ], + }, + "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error + # message that was returned, such as `NOT FOUND`. + "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error + # status code that was returned. For example, a `404` means the + # resource was not found. + "id": "A String", # [Output Only] The unique identifier for the operation. This identifier is + # defined by the server. + "insertTime": "A String", # [Output Only] The time that this operation was requested. + # This value is inRFC3339 + # text format. + "instancesBulkInsertOperationMetadata": { + "perLocationStatus": { # Status information per location (location name is key). + # Example key: zones/us-central1-a + "a_key": { + "createdVmCount": 42, # [Output Only] Count of VMs successfully created so far. + "deletedVmCount": 42, # [Output Only] Count of VMs that got deleted during rollback. + "failedToCreateVmCount": 42, # [Output Only] Count of VMs that started creating but encountered an + # error. + "status": "A String", # [Output Only] Creation status of BulkInsert operation - information + # if the flow is rolling forward or rolling back. + "targetVmCount": 42, # [Output Only] Count of VMs originally planned to be created. + }, + }, + }, + "kind": "compute#operation", # Output only. [Output Only] Type of the resource. Always `compute#operation` for + # Operation resources. + "name": "A String", # [Output Only] Name of the operation. + "operationGroupId": "A String", # Output only. [Output Only] An ID that represents a group of operations, such as when a + # group of operations results from a `bulkInsert` API request. + "operationType": "A String", # [Output Only] The type of operation, such as `insert`, + # `update`, or `delete`, and so on. + "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. + # There is no requirement that this be linear or support any granularity of + # operations. This should not be used to guess when the operation will be + # complete. This number should monotonically increase as the operation + # progresses. + "region": "A String", # [Output Only] The URL of the region where the operation resides. Only + # applicable when performing regional operations. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "setCommonInstanceMetadataOperationMetadata": { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata, + # this field will contain information on all underlying zonal actions and + # their state. + "clientOperationId": "A String", # [Output Only] The client operation id. + "perLocationOperations": { # [Output Only] Status information per location (location name is key). + # Example key: zones/us-central1-a + "a_key": { + "error": { # The `Status` type defines a logical error model that is suitable for # [Output Only] If state is `ABANDONED` or `FAILED`, this field is + # populated. + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). Each `Status` message contains + # three pieces of data: error code, error message, and error details. + # + # You can find out more about this error model and how to work with it in the + # [API Design Guide](https://cloud.google.com/apis/design/errors). + "code": 42, # The status code, which should be an enum value of google.rpc.Code. + "details": [ # A list of messages that carry the error details. There is a common set of + # message types for APIs to use. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + "message": "A String", # A developer-facing error message, which should be in English. Any + # user-facing error message should be localized and sent in the + # google.rpc.Status.details field, or localized by the client. + }, + "state": "A String", # [Output Only] Status of the action, which can be one of the following: + # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`. + }, + }, + }, + "startTime": "A String", # [Output Only] The time that this operation was started by the server. + # This value is inRFC3339 + # text format. + "status": "A String", # [Output Only] The status of the operation, which can be one of the + # following: + # `PENDING`, `RUNNING`, or `DONE`. + "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the + # operation. + "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation + # of the target resource. + "targetLink": "A String", # [Output Only] The URL of the resource that the operation modifies. For + # operations related to creating a snapshot, this points to the disk + # that the snapshot was created from. + "user": "A String", # [Output Only] User who requested the operation, for example: + # `user@example.com` or + # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`. + "warnings": [ # [Output Only] If warning messages are generated during processing of the + # operation, this field will be populated. + { + "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute + # Engine returns NO_RESULTS_ON_PAGE if there + # are no results in the response. + "data": [ # [Output Only] Metadata about this warning in key: + # value format. For example: + # + # "data": [ + # { + # "key": "scope", + # "value": "zones/us-east1-d" + # } + { + "key": "A String", # [Output Only] A key that provides more detail on the warning being + # returned. For example, for warnings where there are no results in a list + # request for a particular zone, this key might be scope and + # the key value might be the zone name. Other examples might be a key + # indicating a deprecated resource and a suggested replacement, or a + # warning about invalid network settings (for example, if an instance + # attempts to perform IP forwarding but is not enabled for IP forwarding). + "value": "A String", # [Output Only] A warning data value corresponding to the key. + }, + ], + "message": "A String", # [Output Only] A human-readable description of the warning code. + }, + ], + "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only + # applicable when performing per-zone operations. +}+++ +list(project, zone, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)+retrieves the list of InstantSnapshotGroup resources contained within +the specified zone. + +Args: + project: string, Project ID for this request. (required) + zone: string, The name of the zone for this request. (required) + filter: string, A filter expression that filters resources listed in the response. Most +Compute resources support two types of filter expressions: +expressions that support regular expressions and expressions that follow +API improvement proposal AIP-160. +These two types of filter expressions cannot be mixed in one request. + +If you want to use AIP-160, your expression must specify the field name, an +operator, and the value that you want to use for filtering. The value +must be a string, a number, or a boolean. The operator +must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. + +For example, if you are filtering Compute Engine instances, you can +exclude instances named `example-instance` by specifying +`name != example-instance`. + +The `:*` comparison can be used to test whether a key has been defined. +For example, to find all objects with `owner` label use: +``` +labels.owner:* +``` + +You can also filter nested fields. For example, you could specify +`scheduling.automaticRestart = false` to include instances only +if they are not scheduled for automatic restarts. You can use filtering +on nested fields to filter based onresource labels. + +To filter on multiple expressions, provide each separate expression within +parentheses. For example: +``` +(scheduling.automaticRestart = true) +(cpuPlatform = "Intel Skylake") +``` +By default, each expression is an `AND` expression. However, you +can include `AND` and `OR` expressions explicitly. +For example: +``` +(cpuPlatform = "Intel Skylake") OR +(cpuPlatform = "Intel Broadwell") AND +(scheduling.automaticRestart = true) +``` + +If you want to use a regular expression, use the `eq` (equal) or `ne` +(not equal) operator against a single un-parenthesized expression with or +without quotes or against multiple parenthesized expressions. Examples: + +`fieldname eq unquoted literal` +`fieldname eq 'single quoted literal'` +`fieldname eq "double quoted literal"` +`(fieldname1 eq literal) (fieldname2 ne "literal")` + +The literal value is interpreted as a regular expression using GoogleRE2 library syntax. +The literal value must match the entire field. + +For example, to filter for instances that do not end with name "instance", +you would use `name ne .*instance`. + +You cannot combine constraints on multiple fields using regular +expressions. + maxResults: integer, The maximum number of results per page that should be returned. +If the number of available results is larger than `maxResults`, +Compute Engine returns a `nextPageToken` that can be used to get +the next page of results in subsequent list requests. Acceptable values are +`0` to `500`, inclusive. (Default: `500`) + orderBy: string, Sorts list results by a certain order. By default, results +are returned in alphanumerical order based on the resource name. + +You can also sort results in descending order based on the creation +timestamp using `orderBy="creationTimestamp desc"`. This sorts +results based on the `creationTimestamp` field in +reverse chronological order (newest result first). Use this to sort +resources like operations so that the newest operation is returned first. + +Currently, only sorting by `name` or +`creationTimestamp desc` is supported. + pageToken: string, Specifies a page token to use. Set `pageToken` to the +`nextPageToken` returned by a previous list request to get +the next page of results. + returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case +of failure. The default value is false. + +For example, when partial success behavior is enabled, aggregatedList for a +single zone scope either returns all resources in the zone or no resources, +with an error code. + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # Contains a list of InstantSnapshotGroup resources. + "etag": "A String", + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "items": [ # A list of InstantSnapshotGroup resources. + { # Represents an InstantSnapshotGroup resource. + # + # An instant snapshot group is a set of instant snapshots that represents a + # point in time state of a consistency group. + "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 + # text format. + "description": "A String", # Optional. An optional description of this resource. Provide this property when you + # create the resource. + "id": "A String", # Output only. [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + "kind": "compute#instantSnapshotGroup", # Output only. [Output Only] Type of the resource. Alwayscompute#instantSnapshotGroup for InstantSnapshotGroup + # resources. + "name": "A String", # Identifier. Name of the resource; provided by the client when the resource is created. + # The name must be 1-63 characters long, and comply withRFC1035. + # Specifically, the name must be 1-63 characters long and match the regular + # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + # character must be a lowercase letter, and all following characters must be + # a dash, lowercase letter, or digit, except the last character, which cannot + # be a dash. + "region": "A String", # Output only. [Output Only] URL of the region where the instant snapshot group resides. + # You must specify this field as part of the HTTP request URL. It is + # not settable as a field in the request body. + "resourceStatus": { + "consistencyMembershipResolutionTime": "A String", # Output only. [Output Only] + "sourceInfo": { # Output only. [Output Only] + "consistencyGroup": "A String", + "consistencyGroupId": "A String", + }, + }, + "selfLink": "A String", # Output only. [Output Only] Server-defined URL for the resource. + "selfLinkWithId": "A String", # Output only. [Output Only] Server-defined URL for this resource's resource id. + "sourceConsistencyGroup": "A String", + "status": "A String", # Output only. [Output Only] + "zone": "A String", # Output only. [Output Only] URL of the zone where the instant snapshot group resides. + # You must specify this field as part of the HTTP request URL. It is + # not settable as a field in the request body. + }, + ], + "kind": "compute#instantSnapshotGroupsList", # Output only. Type of resource. + "nextPageToken": "A String", # [Output Only] This token allows you to get the next page of results for + # list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for + # the query parameter pageToken in the next list request. + # Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + "selfLink": "A String", # Output only. [Output Only] Server-defined URL for this resource. + "unreachables": [ # Output only. [Output Only] Unreachable resources. + # end_interface: MixerListResponseWithEtagBuilder + "A String", + ], + "warning": { # [Output Only] Informational warning message. + "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute + # Engine returns NO_RESULTS_ON_PAGE if there + # are no results in the response. + "data": [ # [Output Only] Metadata about this warning in key: + # value format. For example: + # + # "data": [ + # { + # "key": "scope", + # "value": "zones/us-east1-d" + # } + { + "key": "A String", # [Output Only] A key that provides more detail on the warning being + # returned. For example, for warnings where there are no results in a list + # request for a particular zone, this key might be scope and + # the key value might be the zone name. Other examples might be a key + # indicating a deprecated resource and a suggested replacement, or a + # warning about invalid network settings (for example, if an instance + # attempts to perform IP forwarding but is not enabled for IP forwarding). + "value": "A String", # [Output Only] A warning data value corresponding to the key. + }, + ], + "message": "A String", # [Output Only] A human-readable description of the warning code. + }, +}+++ +list_next()+Retrieves the next page of results. + + Args: + previous_request: The request for the previous page. (required) + previous_response: The response from the request for the previous page. (required) + + Returns: + A request object that you can call 'execute()' on to request the next + page. Returns None if there are no more items in the collection. ++++ +setIamPolicy(project, zone, resource, body=None, x__xgafv=None)+Sets the access control policy on the specified resource. +Replaces any existing policy. + +Args: + project: string, Project ID for this request. (required) + zone: string, The name of the zone for this request. (required) + resource: string, Name or id of the resource for this request. (required) + body: object, The request body. + The object takes the form of: + +{ + "bindings": [ # Flatten Policy to create a backwacd compatible wire-format. + # Deprecated. Use 'policy' to specify bindings. + { # Associates `members`, or principals, with a `role`. + "condition": { # Represents a textual expression in the Common Expression Language (CEL) # 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). + # 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. + "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", # Flatten Policy to create a backward compatible wire-format. + # Deprecated. Use 'policy' to specify the etag. + "policy": { # An Identity and Access Management (IAM) policy, which specifies access # 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 in general a + # valid policy but certain services (like Projects) might reject them. + # 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/). + "auditConfigs": [ # Specifies cloud audit logging configuration for this policy. + { # Specifies the audit configuration for a service. + # The configuration determines which permission types are logged, and what + # identities, if any, are exempted from logging. + # An AuditConfig must have one or more AuditLogConfigs. + # + # If there are AuditConfigs for both `allServices` and a specific service, + # the union of the two AuditConfigs is used for that service: the log_types + # specified in each AuditConfig are enabled, and the exempted_members in each + # AuditLogConfig are exempted. + # + # Example Policy with multiple AuditConfigs: + # + # { + # "audit_configs": [ + # { + # "service": "allServices", + # "audit_log_configs": [ + # { + # "log_type": "DATA_READ", + # "exempted_members": [ + # "user:jose@example.com" + # ] + # }, + # { + # "log_type": "DATA_WRITE" + # }, + # { + # "log_type": "ADMIN_READ" + # } + # ] + # }, + # { + # "service": "sampleservice.googleapis.com", + # "audit_log_configs": [ + # { + # "log_type": "DATA_READ" + # }, + # { + # "log_type": "DATA_WRITE", + # "exempted_members": [ + # "user:aliya@example.com" + # ] + # } + # ] + # } + # ] + # } + # + # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ + # logging. It also exempts `jose@example.com` from DATA_READ logging, and + # `aliya@example.com` from DATA_WRITE logging. + "auditLogConfigs": [ # The configuration for logging of each type of permission. + { # Provides the configuration for logging a type of permissions. + # Example: + # + # { + # "audit_log_configs": [ + # { + # "log_type": "DATA_READ", + # "exempted_members": [ + # "user:jose@example.com" + # ] + # }, + # { + # "log_type": "DATA_WRITE" + # } + # ] + # } + # + # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting + # jose@example.com from DATA_READ logging. + "exemptedMembers": [ # Specifies the identities that do not cause logging for this type of + # permission. + # Follows the same format of Binding.members. + "A String", + ], + "logType": "A String", # The log type that this config enables. + }, + ], + "service": "A String", # Specifies a service that will be enabled for audit logging. + # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. + # `allServices` is a special value that covers all services. + }, + ], + "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) # 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). + # 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. + "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/). + "auditConfigs": [ # Specifies cloud audit logging configuration for this policy. + { # Specifies the audit configuration for a service. + # The configuration determines which permission types are logged, and what + # identities, if any, are exempted from logging. + # An AuditConfig must have one or more AuditLogConfigs. + # + # If there are AuditConfigs for both `allServices` and a specific service, + # the union of the two AuditConfigs is used for that service: the log_types + # specified in each AuditConfig are enabled, and the exempted_members in each + # AuditLogConfig are exempted. + # + # Example Policy with multiple AuditConfigs: + # + # { + # "audit_configs": [ + # { + # "service": "allServices", + # "audit_log_configs": [ + # { + # "log_type": "DATA_READ", + # "exempted_members": [ + # "user:jose@example.com" + # ] + # }, + # { + # "log_type": "DATA_WRITE" + # }, + # { + # "log_type": "ADMIN_READ" + # } + # ] + # }, + # { + # "service": "sampleservice.googleapis.com", + # "audit_log_configs": [ + # { + # "log_type": "DATA_READ" + # }, + # { + # "log_type": "DATA_WRITE", + # "exempted_members": [ + # "user:aliya@example.com" + # ] + # } + # ] + # } + # ] + # } + # + # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ + # logging. It also exempts `jose@example.com` from DATA_READ logging, and + # `aliya@example.com` from DATA_WRITE logging. + "auditLogConfigs": [ # The configuration for logging of each type of permission. + { # Provides the configuration for logging a type of permissions. + # Example: + # + # { + # "audit_log_configs": [ + # { + # "log_type": "DATA_READ", + # "exempted_members": [ + # "user:jose@example.com" + # ] + # }, + # { + # "log_type": "DATA_WRITE" + # } + # ] + # } + # + # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting + # jose@example.com from DATA_READ logging. + "exemptedMembers": [ # Specifies the identities that do not cause logging for this type of + # permission. + # Follows the same format of Binding.members. + "A String", + ], + "logType": "A String", # The log type that this config enables. + }, + ], + "service": "A String", # Specifies a service that will be enabled for audit logging. + # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. + # `allServices` is a special value that covers all services. + }, + ], + "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) # 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). + # 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. + "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). +}+++ + \ No newline at end of file diff --git a/docs/dyn/compute_beta.instantSnapshots.html b/docs/dyn/compute_beta.instantSnapshots.html index c71e5788a1..88b287e708 100644 --- a/docs/dyn/compute_beta.instantSnapshots.html +++ b/docs/dyn/compute_beta.instantSnapshots.html @@ -295,6 +295,13 @@testIamPermissions(project, zone, resource, body=None, x__xgafv=None)+Returns permissions that a caller has on the specified resource. + +Args: + project: string, Project ID for this request. (required) + zone: string, The name of the zone for this request. (required) + resource: string, Name or id of the resource for this request. (required) + body: object, The request body. + The object takes the form of: + +{ + "permissions": [ # The set of permissions to check for the 'resource'. Permissions with + # wildcards (such as '*' or 'storage.*') are not allowed. + "A String", + ], +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { + "permissions": [ # A subset of `TestPermissionsRequest.permissions` that the caller is + # allowed. + "A String", + ], +}+Method Details
"sourceDiskId": "A String", # Output only. [Output Only] The ID value of the disk used to create this InstantSnapshot. # This value may be used to determine whether the InstantSnapshot # was taken from the current or a previous instance of a given disk name. + "sourceInstantSnapshotGroup": "A String", # Output only. [Output Only] URL of the source instant snapshot this instant snapshot is + # part of. Note that the source instant snapshot group must be in the same + # zone/region as the instant snapshot to be created. This can be a full or + # valid partial URL. + "sourceInstantSnapshotGroupId": "A String", # Output only. [Output Only] The ID value of the source instant snapshot group this + # InstantSnapshot is part of. This value may be used to determine whether the + # InstantSnapshot was created as part of an InstantSnapshotGroup creation. "status": "A String", # Output only. [Output Only] The status of the instantSnapshot. This can beCREATING, DELETING, FAILED, orREADY. "zone": "A String", # Output only. [Output Only] URL of the zone where the instant snapshot resides. # You must specify this field as part of the HTTP request URL. It is @@ -761,6 +768,13 @@Method Details
"sourceDiskId": "A String", # Output only. [Output Only] The ID value of the disk used to create this InstantSnapshot. # This value may be used to determine whether the InstantSnapshot # was taken from the current or a previous instance of a given disk name. + "sourceInstantSnapshotGroup": "A String", # Output only. [Output Only] URL of the source instant snapshot this instant snapshot is + # part of. Note that the source instant snapshot group must be in the same + # zone/region as the instant snapshot to be created. This can be a full or + # valid partial URL. + "sourceInstantSnapshotGroupId": "A String", # Output only. [Output Only] The ID value of the source instant snapshot group this + # InstantSnapshot is part of. This value may be used to determine whether the + # InstantSnapshot was created as part of an InstantSnapshotGroup creation. "status": "A String", # Output only. [Output Only] The status of the instantSnapshot. This can beCREATING, DELETING, FAILED, orREADY. "zone": "A String", # Output only. [Output Only] URL of the zone where the instant snapshot resides. # You must specify this field as part of the HTTP request URL. It is @@ -1217,6 +1231,13 @@Method Details
"sourceDiskId": "A String", # Output only. [Output Only] The ID value of the disk used to create this InstantSnapshot. # This value may be used to determine whether the InstantSnapshot # was taken from the current or a previous instance of a given disk name. + "sourceInstantSnapshotGroup": "A String", # Output only. [Output Only] URL of the source instant snapshot this instant snapshot is + # part of. Note that the source instant snapshot group must be in the same + # zone/region as the instant snapshot to be created. This can be a full or + # valid partial URL. + "sourceInstantSnapshotGroupId": "A String", # Output only. [Output Only] The ID value of the source instant snapshot group this + # InstantSnapshot is part of. This value may be used to determine whether the + # InstantSnapshot was created as part of an InstantSnapshotGroup creation. "status": "A String", # Output only. [Output Only] The status of the instantSnapshot. This can beCREATING, DELETING, FAILED, orREADY. "zone": "A String", # Output only. [Output Only] URL of the zone where the instant snapshot resides. # You must specify this field as part of the HTTP request URL. It is @@ -1668,6 +1689,13 @@Method Details
"sourceDiskId": "A String", # Output only. [Output Only] The ID value of the disk used to create this InstantSnapshot. # This value may be used to determine whether the InstantSnapshot # was taken from the current or a previous instance of a given disk name. + "sourceInstantSnapshotGroup": "A String", # Output only. [Output Only] URL of the source instant snapshot this instant snapshot is + # part of. Note that the source instant snapshot group must be in the same + # zone/region as the instant snapshot to be created. This can be a full or + # valid partial URL. + "sourceInstantSnapshotGroupId": "A String", # Output only. [Output Only] The ID value of the source instant snapshot group this + # InstantSnapshot is part of. This value may be used to determine whether the + # InstantSnapshot was created as part of an InstantSnapshotGroup creation. "status": "A String", # Output only. [Output Only] The status of the instantSnapshot. This can beCREATING, DELETING, FAILED, orREADY. "zone": "A String", # Output only. [Output Only] URL of the zone where the instant snapshot resides. # You must specify this field as part of the HTTP request URL. It is diff --git a/docs/dyn/compute_beta.machineImages.html b/docs/dyn/compute_beta.machineImages.html index bf8e57fd5f..b3944676cc 100644 --- a/docs/dyn/compute_beta.machineImages.html +++ b/docs/dyn/compute_beta.machineImages.html @@ -1458,6 +1458,18 @@Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Machine Image parameters # Input only. [Input Only] Additional parameters that are passed in the request, but are + # not persisted in the resource. + "resourceManagerTags": { # Input only. Resource manager tags to be bound to the machine image. Tag keys and values + # have the same definition as resource + # manager tags. Keys and values can be either in numeric format, + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and + # `{tag_value_short_name}`. The field is ignored (both PUT & + # PATCH) when empty. + "a_key": "A String", + }, + }, "satisfiesPzi": True or False, # Output only. Reserved for future use. "satisfiesPzs": True or False, # Output only. [Output Only] Reserved for future use. "savedDisks": [ # Output only. An array of Machine Image specific properties for disks attached to the @@ -3485,6 +3497,18 @@Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Machine Image parameters # Input only. [Input Only] Additional parameters that are passed in the request, but are + # not persisted in the resource. + "resourceManagerTags": { # Input only. Resource manager tags to be bound to the machine image. Tag keys and values + # have the same definition as resource + # manager tags. Keys and values can be either in numeric format, + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and + # `{tag_value_short_name}`. The field is ignored (both PUT & + # PATCH) when empty. + "a_key": "A String", + }, + }, "satisfiesPzi": True or False, # Output only. Reserved for future use. "satisfiesPzs": True or False, # Output only. [Output Only] Reserved for future use. "savedDisks": [ # Output only. An array of Machine Image specific properties for disks attached to the @@ -5505,6 +5529,18 @@Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Machine Image parameters # Input only. [Input Only] Additional parameters that are passed in the request, but are + # not persisted in the resource. + "resourceManagerTags": { # Input only. Resource manager tags to be bound to the machine image. Tag keys and values + # have the same definition as resource + # manager tags. Keys and values can be either in numeric format, + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and + # `{tag_value_short_name}`. The field is ignored (both PUT & + # PATCH) when empty. + "a_key": "A String", + }, + }, "satisfiesPzi": True or False, # Output only. Reserved for future use. "satisfiesPzs": True or False, # Output only. [Output Only] Reserved for future use. "savedDisks": [ # Output only. An array of Machine Image specific properties for disks attached to the diff --git a/docs/dyn/compute_beta.networks.html b/docs/dyn/compute_beta.networks.html index 38773775a9..0879ba7c3d 100644 --- a/docs/dyn/compute_beta.networks.html +++ b/docs/dyn/compute_beta.networks.html @@ -214,9 +214,7 @@Method Details
"peerMtu": 42, # Output only. [Output Only] Maximum Transmission Unit in bytes of the peer network. "stackType": "A String", # Which IP version(s) of traffic and routes are allowed to be imported or # exported between peer networks. The default value is IPV4_ONLY. - "state": "A String", # Output only. [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The - # peering is `ACTIVE` when there's a matching configuration in the peer - # network. + "state": "A String", # Output only. [Output Only] State for the peering. "stateDetails": "A String", # Output only. [Output Only] Details about the current state of the peering. "updateStrategy": "A String", # The update strategy determines the semantics for updates and deletes to the # peering connection configuration. @@ -1232,9 +1230,7 @@Method Details
"peerMtu": 42, # Output only. [Output Only] Maximum Transmission Unit in bytes of the peer network. "stackType": "A String", # Which IP version(s) of traffic and routes are allowed to be imported or # exported between peer networks. The default value is IPV4_ONLY. - "state": "A String", # Output only. [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The - # peering is `ACTIVE` when there's a matching configuration in the peer - # network. + "state": "A String", # Output only. [Output Only] State for the peering. "stateDetails": "A String", # Output only. [Output Only] Details about the current state of the peering. "updateStrategy": "A String", # The update strategy determines the semantics for updates and deletes to the # peering connection configuration. @@ -2474,9 +2470,7 @@Method Details
"peerMtu": 42, # Output only. [Output Only] Maximum Transmission Unit in bytes of the peer network. "stackType": "A String", # Which IP version(s) of traffic and routes are allowed to be imported or # exported between peer networks. The default value is IPV4_ONLY. - "state": "A String", # Output only. [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The - # peering is `ACTIVE` when there's a matching configuration in the peer - # network. + "state": "A String", # Output only. [Output Only] State for the peering. "stateDetails": "A String", # Output only. [Output Only] Details about the current state of the peering. "updateStrategy": "A String", # The update strategy determines the semantics for updates and deletes to the # peering connection configuration. @@ -3028,9 +3022,7 @@Method Details
"peerMtu": 42, # Output only. [Output Only] Maximum Transmission Unit in bytes of the peer network. "stackType": "A String", # Which IP version(s) of traffic and routes are allowed to be imported or # exported between peer networks. The default value is IPV4_ONLY. - "state": "A String", # Output only. [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The - # peering is `ACTIVE` when there's a matching configuration in the peer - # network. + "state": "A String", # Output only. [Output Only] State for the peering. "stateDetails": "A String", # Output only. [Output Only] Details about the current state of the peering. "updateStrategy": "A String", # The update strategy determines the semantics for updates and deletes to the # peering connection configuration. @@ -3440,9 +3432,7 @@Method Details
"peerMtu": 42, # Output only. [Output Only] Maximum Transmission Unit in bytes of the peer network. "stackType": "A String", # Which IP version(s) of traffic and routes are allowed to be imported or # exported between peer networks. The default value is IPV4_ONLY. - "state": "A String", # Output only. [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The - # peering is `ACTIVE` when there's a matching configuration in the peer - # network. + "state": "A String", # Output only. [Output Only] State for the peering. "stateDetails": "A String", # Output only. [Output Only] Details about the current state of the peering. "updateStrategy": "A String", # The update strategy determines the semantics for updates and deletes to the # peering connection configuration. @@ -4716,9 +4706,7 @@Method Details
"peerMtu": 42, # Output only. [Output Only] Maximum Transmission Unit in bytes of the peer network. "stackType": "A String", # Which IP version(s) of traffic and routes are allowed to be imported or # exported between peer networks. The default value is IPV4_ONLY. - "state": "A String", # Output only. [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The - # peering is `ACTIVE` when there's a matching configuration in the peer - # network. + "state": "A String", # Output only. [Output Only] State for the peering. "stateDetails": "A String", # Output only. [Output Only] Details about the current state of the peering. "updateStrategy": "A String", # The update strategy determines the semantics for updates and deletes to the # peering connection configuration. diff --git a/docs/dyn/compute_beta.regionDisks.html b/docs/dyn/compute_beta.regionDisks.html index 0d0ba9b013..a199f84061 100644 --- a/docs/dyn/compute_beta.regionDisks.html +++ b/docs/dyn/compute_beta.regionDisks.html @@ -437,6 +437,16 @@Method Details
{ # A transient resource used in compute.disks.bulkInsert and # compute.regionDisks.bulkInsert. It is only used to process # requests and is not persisted. + "instantSnapshotGroupParameters": { # The parameters for the instant snapshot group. + "sourceInstantSnapshotGroup": "A String", # The source instant snapshot group used to create disks. You can provide + # this as a partial or full URL to the resource. For example, the following + # are valid values: + # + # + # - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instantSnapshotGroups/instantSnapshotGroup + # - projects/project/zones/zone/instantSnapshotGroups/instantSnapshotGroup + # - zones/zone/instantSnapshotGroups/instantSnapshotGroup + }, "sourceConsistencyGroupPolicy": "A String", # The URL of the DiskConsistencyGroupPolicy for the group of disks to clone. # This may be a full or partial URL, such as: # diff --git a/docs/dyn/compute_beta.regionInstantSnapshotGroups.html b/docs/dyn/compute_beta.regionInstantSnapshotGroups.html new file mode 100644 index 0000000000..04dfbeb413 --- /dev/null +++ b/docs/dyn/compute_beta.regionInstantSnapshotGroups.html @@ -0,0 +1,2241 @@ + + + +Compute Engine API . regionInstantSnapshotGroups
+Instance Methods
++
+close()Close httplib2 connections.
++
+delete(project, region, instantSnapshotGroup, requestId=None, x__xgafv=None)deletes a Regional InstantSnapshotGroup resource
++
+get(project, region, instantSnapshotGroup, x__xgafv=None)returns the specified InstantSnapshotGroup resource in the specified
++
+getIamPolicy(project, region, resource, optionsRequestedPolicyVersion=None, x__xgafv=None)Gets the access control policy for a resource. May be empty if no such
++
+insert(project, region, body=None, requestId=None, sourceConsistencyGroup=None, x__xgafv=None)creates a Regional InstantSnapshotGroup resource
+ +retrieves the list of InstantSnapshotGroup resources contained within
+ +Retrieves the next page of results.
++
+setIamPolicy(project, region, resource, body=None, x__xgafv=None)Sets the access control policy on the specified resource.
++
+testIamPermissions(project, region, resource, body=None, x__xgafv=None)Returns permissions that a caller has on the specified resource.
+Method Details
+++ +close()+Close httplib2 connections.+++ +delete(project, region, instantSnapshotGroup, requestId=None, x__xgafv=None)+deletes a Regional InstantSnapshotGroup resource + +Args: + project: string, Project ID for this request. (required) + region: string, The name of the region for this request. (required) + instantSnapshotGroup: string, Name of the InstantSnapshotGroup resource to delete. (required) + requestId: string, An optional request ID to identify requests. Specify a unique request ID so +that if you must retry your request, the server will know to ignore the +request if it has already been completed. + +For example, consider a situation where you make an initial request and +the request times out. If you make the request again with the same +request ID, the server can check if original operation with the same +request ID was received, and if so, will ignore the second request. This +prevents clients from accidentally creating duplicate commitments. + +The request ID must be +a valid UUID with the exception that zero UUID is not supported +(00000000-0000-0000-0000-000000000000). + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # Represents an Operation resource. + # + # Google Compute Engine has three Operation resources: + # + # * [Global](/compute/docs/reference/rest/beta/globalOperations) + # * [Regional](/compute/docs/reference/rest/beta/regionOperations) + # * [Zonal](/compute/docs/reference/rest/beta/zoneOperations) + # + # You can use an operation resource to manage asynchronous API requests. + # For more information, readHandling + # API responses. + # + # Operations can be global, regional or zonal. + # + # - For global operations, use the `globalOperations` + # resource. + # - For regional operations, use the + # `regionOperations` resource. + # - For zonal operations, use + # the `zoneOperations` resource. + # + # + # + # For more information, read + # Global, Regional, and Zonal Resources. + # + # Note that completed Operation resources have a limited + # retention period. + "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. + # Not present otherwise. + "creationTimestamp": "A String", # [Deprecated] This field is deprecated. + "description": "A String", # [Output Only] A textual description of the operation, which is + # set when the operation is created. + "endTime": "A String", # [Output Only] The time that this operation was completed. This value is inRFC3339 + # text format. + "error": { # [Output Only] If errors are generated during processing of the operation, + # this field will be populated. + "errors": [ # [Output Only] The array of errors encountered while processing this + # operation. + { + "code": "A String", # [Output Only] The error type identifier for this error. + "errorDetails": [ # [Output Only] An optional list of messages that contain the error + # details. There is a set of defined message types to use for providing + # details.The syntax depends on the error code. For example, + # QuotaExceededInfo will have details when the error code is + # QUOTA_EXCEEDED. + { + "errorInfo": { # Describes the cause of the error with structured details. + # + # Example of an error when contacting the "pubsub.googleapis.com" API when it + # is not enabled: + # + # { "reason": "API_DISABLED" + # "domain": "googleapis.com" + # "metadata": { + # "resource": "projects/123", + # "service": "pubsub.googleapis.com" + # } + # } + # + # This response indicates that the pubsub.googleapis.com API is not enabled. + # + # Example of an error that is returned when attempting to create a Spanner + # instance in a region that is out of stock: + # + # { "reason": "STOCKOUT" + # "domain": "spanner.googleapis.com", + # "metadata": { + # "availableRegions": "us-central1,us-east2" + # } + # } + "domain": "A String", # The logical grouping to which the "reason" belongs. The error domain + # is typically the registered service name of the tool or product that + # generates the error. Example: "pubsub.googleapis.com". If the error is + # generated by some common infrastructure, the error domain must be a + # globally unique value that identifies the infrastructure. For Google API + # infrastructure, the error domain is "googleapis.com". + "metadatas": { # Additional structured details about this error. + # + # Keys must match a regular expression of `a-z+` but should + # ideally be lowerCamelCase. Also, they must be limited to 64 characters in + # length. When identifying the current value of an exceeded limit, the units + # should be contained in the key, not the value. For example, rather than + # `{"instanceLimit": "100/request"}`, should be returned as, + # `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of + # instances that can be created in a single (batch) request. + "a_key": "A String", + }, + "reason": "A String", # The reason of the error. This is a constant value that identifies the + # proximate cause of the error. Error reasons are unique within a particular + # domain of errors. This should be at most 63 characters and match a + # regular expression of `A-Z+[A-Z0-9]`, which represents + # UPPER_SNAKE_CASE. + }, + "help": { # Provides links to documentation or for performing an out of band action. + # + # For example, if a quota check failed with an error indicating the calling + # project hasn't enabled the accessed service, this can contain a URL pointing + # directly to the right place in the developer console to flip the bit. + "links": [ # URL(s) pointing to additional information on handling the current error. + { # Describes a URL link. + "description": "A String", # Describes what the link offers. + "url": "A String", # The URL of the link. + }, + ], + }, + "localizedMessage": { # Provides a localized error message that is safe to return to the user + # which can be attached to an RPC error. + "locale": "A String", # The locale used following the specification defined at + # https://www.rfc-editor.org/rfc/bcp/bcp47.txt. + # Examples are: "en-US", "fr-CH", "es-MX" + "message": "A String", # The localized error message in the above locale. + }, + "quotaInfo": { # Additional details for quota exceeded error for resource quota. + "dimensions": { # The map holding related quota dimensions. + "a_key": "A String", + }, + "futureLimit": 3.14, # Future quota limit being rolled out. The limit's unit depends on the quota + # type or metric. + "limit": 3.14, # Current effective quota limit. The limit's unit depends on the quota type + # or metric. + "limitName": "A String", # The name of the quota limit. + "metricName": "A String", # The Compute Engine quota metric name. + "rolloutStatus": "A String", # Rollout status of the future quota limit. + }, + }, + ], + "location": "A String", # [Output Only] Indicates the field in the request that caused the error. + # This property is optional. + "message": "A String", # [Output Only] An optional, human-readable error message. + }, + ], + }, + "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error + # message that was returned, such as `NOT FOUND`. + "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error + # status code that was returned. For example, a `404` means the + # resource was not found. + "id": "A String", # [Output Only] The unique identifier for the operation. This identifier is + # defined by the server. + "insertTime": "A String", # [Output Only] The time that this operation was requested. + # This value is inRFC3339 + # text format. + "instancesBulkInsertOperationMetadata": { + "perLocationStatus": { # Status information per location (location name is key). + # Example key: zones/us-central1-a + "a_key": { + "createdVmCount": 42, # [Output Only] Count of VMs successfully created so far. + "deletedVmCount": 42, # [Output Only] Count of VMs that got deleted during rollback. + "failedToCreateVmCount": 42, # [Output Only] Count of VMs that started creating but encountered an + # error. + "status": "A String", # [Output Only] Creation status of BulkInsert operation - information + # if the flow is rolling forward or rolling back. + "targetVmCount": 42, # [Output Only] Count of VMs originally planned to be created. + }, + }, + }, + "kind": "compute#operation", # Output only. [Output Only] Type of the resource. Always `compute#operation` for + # Operation resources. + "name": "A String", # [Output Only] Name of the operation. + "operationGroupId": "A String", # Output only. [Output Only] An ID that represents a group of operations, such as when a + # group of operations results from a `bulkInsert` API request. + "operationType": "A String", # [Output Only] The type of operation, such as `insert`, + # `update`, or `delete`, and so on. + "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. + # There is no requirement that this be linear or support any granularity of + # operations. This should not be used to guess when the operation will be + # complete. This number should monotonically increase as the operation + # progresses. + "region": "A String", # [Output Only] The URL of the region where the operation resides. Only + # applicable when performing regional operations. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "setCommonInstanceMetadataOperationMetadata": { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata, + # this field will contain information on all underlying zonal actions and + # their state. + "clientOperationId": "A String", # [Output Only] The client operation id. + "perLocationOperations": { # [Output Only] Status information per location (location name is key). + # Example key: zones/us-central1-a + "a_key": { + "error": { # The `Status` type defines a logical error model that is suitable for # [Output Only] If state is `ABANDONED` or `FAILED`, this field is + # populated. + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). Each `Status` message contains + # three pieces of data: error code, error message, and error details. + # + # You can find out more about this error model and how to work with it in the + # [API Design Guide](https://cloud.google.com/apis/design/errors). + "code": 42, # The status code, which should be an enum value of google.rpc.Code. + "details": [ # A list of messages that carry the error details. There is a common set of + # message types for APIs to use. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + "message": "A String", # A developer-facing error message, which should be in English. Any + # user-facing error message should be localized and sent in the + # google.rpc.Status.details field, or localized by the client. + }, + "state": "A String", # [Output Only] Status of the action, which can be one of the following: + # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`. + }, + }, + }, + "startTime": "A String", # [Output Only] The time that this operation was started by the server. + # This value is inRFC3339 + # text format. + "status": "A String", # [Output Only] The status of the operation, which can be one of the + # following: + # `PENDING`, `RUNNING`, or `DONE`. + "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the + # operation. + "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation + # of the target resource. + "targetLink": "A String", # [Output Only] The URL of the resource that the operation modifies. For + # operations related to creating a snapshot, this points to the disk + # that the snapshot was created from. + "user": "A String", # [Output Only] User who requested the operation, for example: + # `user@example.com` or + # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`. + "warnings": [ # [Output Only] If warning messages are generated during processing of the + # operation, this field will be populated. + { + "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute + # Engine returns NO_RESULTS_ON_PAGE if there + # are no results in the response. + "data": [ # [Output Only] Metadata about this warning in key: + # value format. For example: + # + # "data": [ + # { + # "key": "scope", + # "value": "zones/us-east1-d" + # } + { + "key": "A String", # [Output Only] A key that provides more detail on the warning being + # returned. For example, for warnings where there are no results in a list + # request for a particular zone, this key might be scope and + # the key value might be the zone name. Other examples might be a key + # indicating a deprecated resource and a suggested replacement, or a + # warning about invalid network settings (for example, if an instance + # attempts to perform IP forwarding but is not enabled for IP forwarding). + "value": "A String", # [Output Only] A warning data value corresponding to the key. + }, + ], + "message": "A String", # [Output Only] A human-readable description of the warning code. + }, + ], + "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only + # applicable when performing per-zone operations. +}+++ +get(project, region, instantSnapshotGroup, x__xgafv=None)+returns the specified InstantSnapshotGroup resource in the specified +region. + +Args: + project: string, Project ID for this request. (required) + region: string, The name of the region for this request. (required) + instantSnapshotGroup: string, Name of the InstantSnapshotGroup resource to return. (required) + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # Represents an InstantSnapshotGroup resource. + # + # An instant snapshot group is a set of instant snapshots that represents a + # point in time state of a consistency group. + "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 + # text format. + "description": "A String", # Optional. An optional description of this resource. Provide this property when you + # create the resource. + "id": "A String", # Output only. [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + "kind": "compute#instantSnapshotGroup", # Output only. [Output Only] Type of the resource. Alwayscompute#instantSnapshotGroup for InstantSnapshotGroup + # resources. + "name": "A String", # Identifier. Name of the resource; provided by the client when the resource is created. + # The name must be 1-63 characters long, and comply withRFC1035. + # Specifically, the name must be 1-63 characters long and match the regular + # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + # character must be a lowercase letter, and all following characters must be + # a dash, lowercase letter, or digit, except the last character, which cannot + # be a dash. + "region": "A String", # Output only. [Output Only] URL of the region where the instant snapshot group resides. + # You must specify this field as part of the HTTP request URL. It is + # not settable as a field in the request body. + "resourceStatus": { + "consistencyMembershipResolutionTime": "A String", # Output only. [Output Only] + "sourceInfo": { # Output only. [Output Only] + "consistencyGroup": "A String", + "consistencyGroupId": "A String", + }, + }, + "selfLink": "A String", # Output only. [Output Only] Server-defined URL for the resource. + "selfLinkWithId": "A String", # Output only. [Output Only] Server-defined URL for this resource's resource id. + "sourceConsistencyGroup": "A String", + "status": "A String", # Output only. [Output Only] + "zone": "A String", # Output only. [Output Only] URL of the zone where the instant snapshot group resides. + # You must specify this field as part of the HTTP request URL. It is + # not settable as a field in the request body. +}+++ +getIamPolicy(project, region, resource, optionsRequestedPolicyVersion=None, x__xgafv=None)+Gets the access control policy for a resource. May be empty if no such +policy or resource exists. + +Args: + project: string, Project ID for this request. (required) + region: string, The name of the region for this request. (required) + resource: string, Name or id of the resource for this request. (required) + optionsRequestedPolicyVersion: integer, Requested IAM Policy version. + 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/). + "auditConfigs": [ # Specifies cloud audit logging configuration for this policy. + { # Specifies the audit configuration for a service. + # The configuration determines which permission types are logged, and what + # identities, if any, are exempted from logging. + # An AuditConfig must have one or more AuditLogConfigs. + # + # If there are AuditConfigs for both `allServices` and a specific service, + # the union of the two AuditConfigs is used for that service: the log_types + # specified in each AuditConfig are enabled, and the exempted_members in each + # AuditLogConfig are exempted. + # + # Example Policy with multiple AuditConfigs: + # + # { + # "audit_configs": [ + # { + # "service": "allServices", + # "audit_log_configs": [ + # { + # "log_type": "DATA_READ", + # "exempted_members": [ + # "user:jose@example.com" + # ] + # }, + # { + # "log_type": "DATA_WRITE" + # }, + # { + # "log_type": "ADMIN_READ" + # } + # ] + # }, + # { + # "service": "sampleservice.googleapis.com", + # "audit_log_configs": [ + # { + # "log_type": "DATA_READ" + # }, + # { + # "log_type": "DATA_WRITE", + # "exempted_members": [ + # "user:aliya@example.com" + # ] + # } + # ] + # } + # ] + # } + # + # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ + # logging. It also exempts `jose@example.com` from DATA_READ logging, and + # `aliya@example.com` from DATA_WRITE logging. + "auditLogConfigs": [ # The configuration for logging of each type of permission. + { # Provides the configuration for logging a type of permissions. + # Example: + # + # { + # "audit_log_configs": [ + # { + # "log_type": "DATA_READ", + # "exempted_members": [ + # "user:jose@example.com" + # ] + # }, + # { + # "log_type": "DATA_WRITE" + # } + # ] + # } + # + # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting + # jose@example.com from DATA_READ logging. + "exemptedMembers": [ # Specifies the identities that do not cause logging for this type of + # permission. + # Follows the same format of Binding.members. + "A String", + ], + "logType": "A String", # The log type that this config enables. + }, + ], + "service": "A String", # Specifies a service that will be enabled for audit logging. + # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. + # `allServices` is a special value that covers all services. + }, + ], + "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) # 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). + # 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. + "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). +}+++ +insert(project, region, body=None, requestId=None, sourceConsistencyGroup=None, x__xgafv=None)+creates a Regional InstantSnapshotGroup resource + +Args: + project: string, Project ID for this request. (required) + region: string, Name of the region for this request. (required) + body: object, The request body. + The object takes the form of: + +{ # Represents an InstantSnapshotGroup resource. + # + # An instant snapshot group is a set of instant snapshots that represents a + # point in time state of a consistency group. + "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 + # text format. + "description": "A String", # Optional. An optional description of this resource. Provide this property when you + # create the resource. + "id": "A String", # Output only. [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + "kind": "compute#instantSnapshotGroup", # Output only. [Output Only] Type of the resource. Alwayscompute#instantSnapshotGroup for InstantSnapshotGroup + # resources. + "name": "A String", # Identifier. Name of the resource; provided by the client when the resource is created. + # The name must be 1-63 characters long, and comply withRFC1035. + # Specifically, the name must be 1-63 characters long and match the regular + # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + # character must be a lowercase letter, and all following characters must be + # a dash, lowercase letter, or digit, except the last character, which cannot + # be a dash. + "region": "A String", # Output only. [Output Only] URL of the region where the instant snapshot group resides. + # You must specify this field as part of the HTTP request URL. It is + # not settable as a field in the request body. + "resourceStatus": { + "consistencyMembershipResolutionTime": "A String", # Output only. [Output Only] + "sourceInfo": { # Output only. [Output Only] + "consistencyGroup": "A String", + "consistencyGroupId": "A String", + }, + }, + "selfLink": "A String", # Output only. [Output Only] Server-defined URL for the resource. + "selfLinkWithId": "A String", # Output only. [Output Only] Server-defined URL for this resource's resource id. + "sourceConsistencyGroup": "A String", + "status": "A String", # Output only. [Output Only] + "zone": "A String", # Output only. [Output Only] URL of the zone where the instant snapshot group resides. + # You must specify this field as part of the HTTP request URL. It is + # not settable as a field in the request body. +} + + requestId: string, An optional request ID to identify requests. Specify a unique request ID so +that if you must retry your request, the server will know to ignore the +request if it has already been completed. + +For example, consider a situation where you make an initial request and +the request times out. If you make the request again with the same +request ID, the server can check if original operation with the same +request ID was received, and if so, will ignore the second request. This +prevents clients from accidentally creating duplicate commitments. + +The request ID must be +a valid UUID with the exception that zero UUID is not supported +(00000000-0000-0000-0000-000000000000). + sourceConsistencyGroup: string, begin_interface: MixerMutationRequestBuilder + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # Represents an Operation resource. + # + # Google Compute Engine has three Operation resources: + # + # * [Global](/compute/docs/reference/rest/beta/globalOperations) + # * [Regional](/compute/docs/reference/rest/beta/regionOperations) + # * [Zonal](/compute/docs/reference/rest/beta/zoneOperations) + # + # You can use an operation resource to manage asynchronous API requests. + # For more information, readHandling + # API responses. + # + # Operations can be global, regional or zonal. + # + # - For global operations, use the `globalOperations` + # resource. + # - For regional operations, use the + # `regionOperations` resource. + # - For zonal operations, use + # the `zoneOperations` resource. + # + # + # + # For more information, read + # Global, Regional, and Zonal Resources. + # + # Note that completed Operation resources have a limited + # retention period. + "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. + # Not present otherwise. + "creationTimestamp": "A String", # [Deprecated] This field is deprecated. + "description": "A String", # [Output Only] A textual description of the operation, which is + # set when the operation is created. + "endTime": "A String", # [Output Only] The time that this operation was completed. This value is inRFC3339 + # text format. + "error": { # [Output Only] If errors are generated during processing of the operation, + # this field will be populated. + "errors": [ # [Output Only] The array of errors encountered while processing this + # operation. + { + "code": "A String", # [Output Only] The error type identifier for this error. + "errorDetails": [ # [Output Only] An optional list of messages that contain the error + # details. There is a set of defined message types to use for providing + # details.The syntax depends on the error code. For example, + # QuotaExceededInfo will have details when the error code is + # QUOTA_EXCEEDED. + { + "errorInfo": { # Describes the cause of the error with structured details. + # + # Example of an error when contacting the "pubsub.googleapis.com" API when it + # is not enabled: + # + # { "reason": "API_DISABLED" + # "domain": "googleapis.com" + # "metadata": { + # "resource": "projects/123", + # "service": "pubsub.googleapis.com" + # } + # } + # + # This response indicates that the pubsub.googleapis.com API is not enabled. + # + # Example of an error that is returned when attempting to create a Spanner + # instance in a region that is out of stock: + # + # { "reason": "STOCKOUT" + # "domain": "spanner.googleapis.com", + # "metadata": { + # "availableRegions": "us-central1,us-east2" + # } + # } + "domain": "A String", # The logical grouping to which the "reason" belongs. The error domain + # is typically the registered service name of the tool or product that + # generates the error. Example: "pubsub.googleapis.com". If the error is + # generated by some common infrastructure, the error domain must be a + # globally unique value that identifies the infrastructure. For Google API + # infrastructure, the error domain is "googleapis.com". + "metadatas": { # Additional structured details about this error. + # + # Keys must match a regular expression of `a-z+` but should + # ideally be lowerCamelCase. Also, they must be limited to 64 characters in + # length. When identifying the current value of an exceeded limit, the units + # should be contained in the key, not the value. For example, rather than + # `{"instanceLimit": "100/request"}`, should be returned as, + # `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of + # instances that can be created in a single (batch) request. + "a_key": "A String", + }, + "reason": "A String", # The reason of the error. This is a constant value that identifies the + # proximate cause of the error. Error reasons are unique within a particular + # domain of errors. This should be at most 63 characters and match a + # regular expression of `A-Z+[A-Z0-9]`, which represents + # UPPER_SNAKE_CASE. + }, + "help": { # Provides links to documentation or for performing an out of band action. + # + # For example, if a quota check failed with an error indicating the calling + # project hasn't enabled the accessed service, this can contain a URL pointing + # directly to the right place in the developer console to flip the bit. + "links": [ # URL(s) pointing to additional information on handling the current error. + { # Describes a URL link. + "description": "A String", # Describes what the link offers. + "url": "A String", # The URL of the link. + }, + ], + }, + "localizedMessage": { # Provides a localized error message that is safe to return to the user + # which can be attached to an RPC error. + "locale": "A String", # The locale used following the specification defined at + # https://www.rfc-editor.org/rfc/bcp/bcp47.txt. + # Examples are: "en-US", "fr-CH", "es-MX" + "message": "A String", # The localized error message in the above locale. + }, + "quotaInfo": { # Additional details for quota exceeded error for resource quota. + "dimensions": { # The map holding related quota dimensions. + "a_key": "A String", + }, + "futureLimit": 3.14, # Future quota limit being rolled out. The limit's unit depends on the quota + # type or metric. + "limit": 3.14, # Current effective quota limit. The limit's unit depends on the quota type + # or metric. + "limitName": "A String", # The name of the quota limit. + "metricName": "A String", # The Compute Engine quota metric name. + "rolloutStatus": "A String", # Rollout status of the future quota limit. + }, + }, + ], + "location": "A String", # [Output Only] Indicates the field in the request that caused the error. + # This property is optional. + "message": "A String", # [Output Only] An optional, human-readable error message. + }, + ], + }, + "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error + # message that was returned, such as `NOT FOUND`. + "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error + # status code that was returned. For example, a `404` means the + # resource was not found. + "id": "A String", # [Output Only] The unique identifier for the operation. This identifier is + # defined by the server. + "insertTime": "A String", # [Output Only] The time that this operation was requested. + # This value is inRFC3339 + # text format. + "instancesBulkInsertOperationMetadata": { + "perLocationStatus": { # Status information per location (location name is key). + # Example key: zones/us-central1-a + "a_key": { + "createdVmCount": 42, # [Output Only] Count of VMs successfully created so far. + "deletedVmCount": 42, # [Output Only] Count of VMs that got deleted during rollback. + "failedToCreateVmCount": 42, # [Output Only] Count of VMs that started creating but encountered an + # error. + "status": "A String", # [Output Only] Creation status of BulkInsert operation - information + # if the flow is rolling forward or rolling back. + "targetVmCount": 42, # [Output Only] Count of VMs originally planned to be created. + }, + }, + }, + "kind": "compute#operation", # Output only. [Output Only] Type of the resource. Always `compute#operation` for + # Operation resources. + "name": "A String", # [Output Only] Name of the operation. + "operationGroupId": "A String", # Output only. [Output Only] An ID that represents a group of operations, such as when a + # group of operations results from a `bulkInsert` API request. + "operationType": "A String", # [Output Only] The type of operation, such as `insert`, + # `update`, or `delete`, and so on. + "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. + # There is no requirement that this be linear or support any granularity of + # operations. This should not be used to guess when the operation will be + # complete. This number should monotonically increase as the operation + # progresses. + "region": "A String", # [Output Only] The URL of the region where the operation resides. Only + # applicable when performing regional operations. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "setCommonInstanceMetadataOperationMetadata": { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata, + # this field will contain information on all underlying zonal actions and + # their state. + "clientOperationId": "A String", # [Output Only] The client operation id. + "perLocationOperations": { # [Output Only] Status information per location (location name is key). + # Example key: zones/us-central1-a + "a_key": { + "error": { # The `Status` type defines a logical error model that is suitable for # [Output Only] If state is `ABANDONED` or `FAILED`, this field is + # populated. + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). Each `Status` message contains + # three pieces of data: error code, error message, and error details. + # + # You can find out more about this error model and how to work with it in the + # [API Design Guide](https://cloud.google.com/apis/design/errors). + "code": 42, # The status code, which should be an enum value of google.rpc.Code. + "details": [ # A list of messages that carry the error details. There is a common set of + # message types for APIs to use. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + "message": "A String", # A developer-facing error message, which should be in English. Any + # user-facing error message should be localized and sent in the + # google.rpc.Status.details field, or localized by the client. + }, + "state": "A String", # [Output Only] Status of the action, which can be one of the following: + # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`. + }, + }, + }, + "startTime": "A String", # [Output Only] The time that this operation was started by the server. + # This value is inRFC3339 + # text format. + "status": "A String", # [Output Only] The status of the operation, which can be one of the + # following: + # `PENDING`, `RUNNING`, or `DONE`. + "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the + # operation. + "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation + # of the target resource. + "targetLink": "A String", # [Output Only] The URL of the resource that the operation modifies. For + # operations related to creating a snapshot, this points to the disk + # that the snapshot was created from. + "user": "A String", # [Output Only] User who requested the operation, for example: + # `user@example.com` or + # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`. + "warnings": [ # [Output Only] If warning messages are generated during processing of the + # operation, this field will be populated. + { + "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute + # Engine returns NO_RESULTS_ON_PAGE if there + # are no results in the response. + "data": [ # [Output Only] Metadata about this warning in key: + # value format. For example: + # + # "data": [ + # { + # "key": "scope", + # "value": "zones/us-east1-d" + # } + { + "key": "A String", # [Output Only] A key that provides more detail on the warning being + # returned. For example, for warnings where there are no results in a list + # request for a particular zone, this key might be scope and + # the key value might be the zone name. Other examples might be a key + # indicating a deprecated resource and a suggested replacement, or a + # warning about invalid network settings (for example, if an instance + # attempts to perform IP forwarding but is not enabled for IP forwarding). + "value": "A String", # [Output Only] A warning data value corresponding to the key. + }, + ], + "message": "A String", # [Output Only] A human-readable description of the warning code. + }, + ], + "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only + # applicable when performing per-zone operations. +}+++ +list(project, region, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)+retrieves the list of InstantSnapshotGroup resources contained within +the specified region. + +Args: + project: string, Project ID for this request. (required) + region: string, The name of the region for this request. (required) + filter: string, A filter expression that filters resources listed in the response. Most +Compute resources support two types of filter expressions: +expressions that support regular expressions and expressions that follow +API improvement proposal AIP-160. +These two types of filter expressions cannot be mixed in one request. + +If you want to use AIP-160, your expression must specify the field name, an +operator, and the value that you want to use for filtering. The value +must be a string, a number, or a boolean. The operator +must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. + +For example, if you are filtering Compute Engine instances, you can +exclude instances named `example-instance` by specifying +`name != example-instance`. + +The `:*` comparison can be used to test whether a key has been defined. +For example, to find all objects with `owner` label use: +``` +labels.owner:* +``` + +You can also filter nested fields. For example, you could specify +`scheduling.automaticRestart = false` to include instances only +if they are not scheduled for automatic restarts. You can use filtering +on nested fields to filter based onresource labels. + +To filter on multiple expressions, provide each separate expression within +parentheses. For example: +``` +(scheduling.automaticRestart = true) +(cpuPlatform = "Intel Skylake") +``` +By default, each expression is an `AND` expression. However, you +can include `AND` and `OR` expressions explicitly. +For example: +``` +(cpuPlatform = "Intel Skylake") OR +(cpuPlatform = "Intel Broadwell") AND +(scheduling.automaticRestart = true) +``` + +If you want to use a regular expression, use the `eq` (equal) or `ne` +(not equal) operator against a single un-parenthesized expression with or +without quotes or against multiple parenthesized expressions. Examples: + +`fieldname eq unquoted literal` +`fieldname eq 'single quoted literal'` +`fieldname eq "double quoted literal"` +`(fieldname1 eq literal) (fieldname2 ne "literal")` + +The literal value is interpreted as a regular expression using GoogleRE2 library syntax. +The literal value must match the entire field. + +For example, to filter for instances that do not end with name "instance", +you would use `name ne .*instance`. + +You cannot combine constraints on multiple fields using regular +expressions. + maxResults: integer, The maximum number of results per page that should be returned. +If the number of available results is larger than `maxResults`, +Compute Engine returns a `nextPageToken` that can be used to get +the next page of results in subsequent list requests. Acceptable values are +`0` to `500`, inclusive. (Default: `500`) + orderBy: string, Sorts list results by a certain order. By default, results +are returned in alphanumerical order based on the resource name. + +You can also sort results in descending order based on the creation +timestamp using `orderBy="creationTimestamp desc"`. This sorts +results based on the `creationTimestamp` field in +reverse chronological order (newest result first). Use this to sort +resources like operations so that the newest operation is returned first. + +Currently, only sorting by `name` or +`creationTimestamp desc` is supported. + pageToken: string, Specifies a page token to use. Set `pageToken` to the +`nextPageToken` returned by a previous list request to get +the next page of results. + returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case +of failure. The default value is false. + +For example, when partial success behavior is enabled, aggregatedList for a +single zone scope either returns all resources in the zone or no resources, +with an error code. + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # Contains a list of InstantSnapshotGroup resources. + "etag": "A String", + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "items": [ # A list of InstantSnapshotGroup resources. + { # Represents an InstantSnapshotGroup resource. + # + # An instant snapshot group is a set of instant snapshots that represents a + # point in time state of a consistency group. + "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 + # text format. + "description": "A String", # Optional. An optional description of this resource. Provide this property when you + # create the resource. + "id": "A String", # Output only. [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + "kind": "compute#instantSnapshotGroup", # Output only. [Output Only] Type of the resource. Alwayscompute#instantSnapshotGroup for InstantSnapshotGroup + # resources. + "name": "A String", # Identifier. Name of the resource; provided by the client when the resource is created. + # The name must be 1-63 characters long, and comply withRFC1035. + # Specifically, the name must be 1-63 characters long and match the regular + # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + # character must be a lowercase letter, and all following characters must be + # a dash, lowercase letter, or digit, except the last character, which cannot + # be a dash. + "region": "A String", # Output only. [Output Only] URL of the region where the instant snapshot group resides. + # You must specify this field as part of the HTTP request URL. It is + # not settable as a field in the request body. + "resourceStatus": { + "consistencyMembershipResolutionTime": "A String", # Output only. [Output Only] + "sourceInfo": { # Output only. [Output Only] + "consistencyGroup": "A String", + "consistencyGroupId": "A String", + }, + }, + "selfLink": "A String", # Output only. [Output Only] Server-defined URL for the resource. + "selfLinkWithId": "A String", # Output only. [Output Only] Server-defined URL for this resource's resource id. + "sourceConsistencyGroup": "A String", + "status": "A String", # Output only. [Output Only] + "zone": "A String", # Output only. [Output Only] URL of the zone where the instant snapshot group resides. + # You must specify this field as part of the HTTP request URL. It is + # not settable as a field in the request body. + }, + ], + "kind": "compute#instantSnapshotGroupsList", # Output only. Type of resource. + "nextPageToken": "A String", # [Output Only] This token allows you to get the next page of results for + # list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for + # the query parameter pageToken in the next list request. + # Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + "selfLink": "A String", # Output only. [Output Only] Server-defined URL for this resource. + "unreachables": [ # Output only. [Output Only] Unreachable resources. + # end_interface: MixerListResponseWithEtagBuilder + "A String", + ], + "warning": { # [Output Only] Informational warning message. + "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute + # Engine returns NO_RESULTS_ON_PAGE if there + # are no results in the response. + "data": [ # [Output Only] Metadata about this warning in key: + # value format. For example: + # + # "data": [ + # { + # "key": "scope", + # "value": "zones/us-east1-d" + # } + { + "key": "A String", # [Output Only] A key that provides more detail on the warning being + # returned. For example, for warnings where there are no results in a list + # request for a particular zone, this key might be scope and + # the key value might be the zone name. Other examples might be a key + # indicating a deprecated resource and a suggested replacement, or a + # warning about invalid network settings (for example, if an instance + # attempts to perform IP forwarding but is not enabled for IP forwarding). + "value": "A String", # [Output Only] A warning data value corresponding to the key. + }, + ], + "message": "A String", # [Output Only] A human-readable description of the warning code. + }, +}+++ +list_next()+Retrieves the next page of results. + + Args: + previous_request: The request for the previous page. (required) + previous_response: The response from the request for the previous page. (required) + + Returns: + A request object that you can call 'execute()' on to request the next + page. Returns None if there are no more items in the collection. ++++ +setIamPolicy(project, region, resource, body=None, x__xgafv=None)+Sets the access control policy on the specified resource. +Replaces any existing policy. + +Args: + project: string, Project ID for this request. (required) + region: string, The name of the region for this request. (required) + resource: string, Name or id of the resource for this request. (required) + body: object, The request body. + The object takes the form of: + +{ + "bindings": [ # Flatten Policy to create a backwacd compatible wire-format. + # Deprecated. Use 'policy' to specify bindings. + { # Associates `members`, or principals, with a `role`. + "condition": { # Represents a textual expression in the Common Expression Language (CEL) # 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). + # 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. + "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", # Flatten Policy to create a backward compatible wire-format. + # Deprecated. Use 'policy' to specify the etag. + "policy": { # An Identity and Access Management (IAM) policy, which specifies access # 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 in general a + # valid policy but certain services (like Projects) might reject them. + # 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/). + "auditConfigs": [ # Specifies cloud audit logging configuration for this policy. + { # Specifies the audit configuration for a service. + # The configuration determines which permission types are logged, and what + # identities, if any, are exempted from logging. + # An AuditConfig must have one or more AuditLogConfigs. + # + # If there are AuditConfigs for both `allServices` and a specific service, + # the union of the two AuditConfigs is used for that service: the log_types + # specified in each AuditConfig are enabled, and the exempted_members in each + # AuditLogConfig are exempted. + # + # Example Policy with multiple AuditConfigs: + # + # { + # "audit_configs": [ + # { + # "service": "allServices", + # "audit_log_configs": [ + # { + # "log_type": "DATA_READ", + # "exempted_members": [ + # "user:jose@example.com" + # ] + # }, + # { + # "log_type": "DATA_WRITE" + # }, + # { + # "log_type": "ADMIN_READ" + # } + # ] + # }, + # { + # "service": "sampleservice.googleapis.com", + # "audit_log_configs": [ + # { + # "log_type": "DATA_READ" + # }, + # { + # "log_type": "DATA_WRITE", + # "exempted_members": [ + # "user:aliya@example.com" + # ] + # } + # ] + # } + # ] + # } + # + # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ + # logging. It also exempts `jose@example.com` from DATA_READ logging, and + # `aliya@example.com` from DATA_WRITE logging. + "auditLogConfigs": [ # The configuration for logging of each type of permission. + { # Provides the configuration for logging a type of permissions. + # Example: + # + # { + # "audit_log_configs": [ + # { + # "log_type": "DATA_READ", + # "exempted_members": [ + # "user:jose@example.com" + # ] + # }, + # { + # "log_type": "DATA_WRITE" + # } + # ] + # } + # + # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting + # jose@example.com from DATA_READ logging. + "exemptedMembers": [ # Specifies the identities that do not cause logging for this type of + # permission. + # Follows the same format of Binding.members. + "A String", + ], + "logType": "A String", # The log type that this config enables. + }, + ], + "service": "A String", # Specifies a service that will be enabled for audit logging. + # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. + # `allServices` is a special value that covers all services. + }, + ], + "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) # 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). + # 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. + "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/). + "auditConfigs": [ # Specifies cloud audit logging configuration for this policy. + { # Specifies the audit configuration for a service. + # The configuration determines which permission types are logged, and what + # identities, if any, are exempted from logging. + # An AuditConfig must have one or more AuditLogConfigs. + # + # If there are AuditConfigs for both `allServices` and a specific service, + # the union of the two AuditConfigs is used for that service: the log_types + # specified in each AuditConfig are enabled, and the exempted_members in each + # AuditLogConfig are exempted. + # + # Example Policy with multiple AuditConfigs: + # + # { + # "audit_configs": [ + # { + # "service": "allServices", + # "audit_log_configs": [ + # { + # "log_type": "DATA_READ", + # "exempted_members": [ + # "user:jose@example.com" + # ] + # }, + # { + # "log_type": "DATA_WRITE" + # }, + # { + # "log_type": "ADMIN_READ" + # } + # ] + # }, + # { + # "service": "sampleservice.googleapis.com", + # "audit_log_configs": [ + # { + # "log_type": "DATA_READ" + # }, + # { + # "log_type": "DATA_WRITE", + # "exempted_members": [ + # "user:aliya@example.com" + # ] + # } + # ] + # } + # ] + # } + # + # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ + # logging. It also exempts `jose@example.com` from DATA_READ logging, and + # `aliya@example.com` from DATA_WRITE logging. + "auditLogConfigs": [ # The configuration for logging of each type of permission. + { # Provides the configuration for logging a type of permissions. + # Example: + # + # { + # "audit_log_configs": [ + # { + # "log_type": "DATA_READ", + # "exempted_members": [ + # "user:jose@example.com" + # ] + # }, + # { + # "log_type": "DATA_WRITE" + # } + # ] + # } + # + # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting + # jose@example.com from DATA_READ logging. + "exemptedMembers": [ # Specifies the identities that do not cause logging for this type of + # permission. + # Follows the same format of Binding.members. + "A String", + ], + "logType": "A String", # The log type that this config enables. + }, + ], + "service": "A String", # Specifies a service that will be enabled for audit logging. + # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. + # `allServices` is a special value that covers all services. + }, + ], + "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) # 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). + # 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. + "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). +}+++ + \ No newline at end of file diff --git a/docs/dyn/compute_beta.regionInstantSnapshots.html b/docs/dyn/compute_beta.regionInstantSnapshots.html index 67dab92e52..458c38a005 100644 --- a/docs/dyn/compute_beta.regionInstantSnapshots.html +++ b/docs/dyn/compute_beta.regionInstantSnapshots.html @@ -484,6 +484,13 @@testIamPermissions(project, region, resource, body=None, x__xgafv=None)+Returns permissions that a caller has on the specified resource. + +Args: + project: string, Project ID for this request. (required) + region: string, The name of the region for this request. (required) + resource: string, Name or id of the resource for this request. (required) + body: object, The request body. + The object takes the form of: + +{ + "permissions": [ # The set of permissions to check for the 'resource'. Permissions with + # wildcards (such as '*' or 'storage.*') are not allowed. + "A String", + ], +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { + "permissions": [ # A subset of `TestPermissionsRequest.permissions` that the caller is + # allowed. + "A String", + ], +}+Method Details
"sourceDiskId": "A String", # Output only. [Output Only] The ID value of the disk used to create this InstantSnapshot. # This value may be used to determine whether the InstantSnapshot # was taken from the current or a previous instance of a given disk name. + "sourceInstantSnapshotGroup": "A String", # Output only. [Output Only] URL of the source instant snapshot this instant snapshot is + # part of. Note that the source instant snapshot group must be in the same + # zone/region as the instant snapshot to be created. This can be a full or + # valid partial URL. + "sourceInstantSnapshotGroupId": "A String", # Output only. [Output Only] The ID value of the source instant snapshot group this + # InstantSnapshot is part of. This value may be used to determine whether the + # InstantSnapshot was created as part of an InstantSnapshotGroup creation. "status": "A String", # Output only. [Output Only] The status of the instantSnapshot. This can beCREATING, DELETING, FAILED, orREADY. "zone": "A String", # Output only. [Output Only] URL of the zone where the instant snapshot resides. # You must specify this field as part of the HTTP request URL. It is @@ -940,6 +947,13 @@Method Details
"sourceDiskId": "A String", # Output only. [Output Only] The ID value of the disk used to create this InstantSnapshot. # This value may be used to determine whether the InstantSnapshot # was taken from the current or a previous instance of a given disk name. + "sourceInstantSnapshotGroup": "A String", # Output only. [Output Only] URL of the source instant snapshot this instant snapshot is + # part of. Note that the source instant snapshot group must be in the same + # zone/region as the instant snapshot to be created. This can be a full or + # valid partial URL. + "sourceInstantSnapshotGroupId": "A String", # Output only. [Output Only] The ID value of the source instant snapshot group this + # InstantSnapshot is part of. This value may be used to determine whether the + # InstantSnapshot was created as part of an InstantSnapshotGroup creation. "status": "A String", # Output only. [Output Only] The status of the instantSnapshot. This can beCREATING, DELETING, FAILED, orREADY. "zone": "A String", # Output only. [Output Only] URL of the zone where the instant snapshot resides. # You must specify this field as part of the HTTP request URL. It is @@ -1391,6 +1405,13 @@Method Details
"sourceDiskId": "A String", # Output only. [Output Only] The ID value of the disk used to create this InstantSnapshot. # This value may be used to determine whether the InstantSnapshot # was taken from the current or a previous instance of a given disk name. + "sourceInstantSnapshotGroup": "A String", # Output only. [Output Only] URL of the source instant snapshot this instant snapshot is + # part of. Note that the source instant snapshot group must be in the same + # zone/region as the instant snapshot to be created. This can be a full or + # valid partial URL. + "sourceInstantSnapshotGroupId": "A String", # Output only. [Output Only] The ID value of the source instant snapshot group this + # InstantSnapshot is part of. This value may be used to determine whether the + # InstantSnapshot was created as part of an InstantSnapshotGroup creation. "status": "A String", # Output only. [Output Only] The status of the instantSnapshot. This can beCREATING, DELETING, FAILED, orREADY. "zone": "A String", # Output only. [Output Only] URL of the zone where the instant snapshot resides. # You must specify this field as part of the HTTP request URL. It is diff --git a/docs/dyn/compute_beta.storagePools.html b/docs/dyn/compute_beta.storagePools.html index 997a0adbdf..ab2358c91f 100644 --- a/docs/dyn/compute_beta.storagePools.html +++ b/docs/dyn/compute_beta.storagePools.html @@ -239,9 +239,9 @@Method Details
"description": "A String", # An optional description of this resource. Provide this property when you # create the resource. "exapoolProvisionedCapacityGb": { # Exapool provisioned capacities for each SKU type # Output only. [Output Only] Provisioned capacities for each SKU for this Exapool in GiB - "capacityOptimized": "A String", # Output only. Size, in GiB, of provisioned capacity-optimized capacity for this Exapool - "readOptimized": "A String", # Output only. Size, in GiB, of provisioned read-optimized capacity for this Exapool - "writeOptimized": "A String", # Output only. Size, in GiB, of provisioned write-optimized capacity for this Exapool + "capacityOptimized": "A String", # Size, in GiB, of provisioned capacity-optimized capacity for this Exapool + "readOptimized": "A String", # Size, in GiB, of provisioned read-optimized capacity for this Exapool + "writeOptimized": "A String", # Size, in GiB, of provisioned write-optimized capacity for this Exapool }, "id": "A String", # Output only. [Output Only] The unique identifier for the resource. This identifier is # defined by the server. @@ -754,9 +754,9 @@Method Details
"description": "A String", # An optional description of this resource. Provide this property when you # create the resource. "exapoolProvisionedCapacityGb": { # Exapool provisioned capacities for each SKU type # Output only. [Output Only] Provisioned capacities for each SKU for this Exapool in GiB - "capacityOptimized": "A String", # Output only. Size, in GiB, of provisioned capacity-optimized capacity for this Exapool - "readOptimized": "A String", # Output only. Size, in GiB, of provisioned read-optimized capacity for this Exapool - "writeOptimized": "A String", # Output only. Size, in GiB, of provisioned write-optimized capacity for this Exapool + "capacityOptimized": "A String", # Size, in GiB, of provisioned capacity-optimized capacity for this Exapool + "readOptimized": "A String", # Size, in GiB, of provisioned read-optimized capacity for this Exapool + "writeOptimized": "A String", # Size, in GiB, of provisioned write-optimized capacity for this Exapool }, "id": "A String", # Output only. [Output Only] The unique identifier for the resource. This identifier is # defined by the server. @@ -1262,9 +1262,9 @@Method Details
"description": "A String", # An optional description of this resource. Provide this property when you # create the resource. "exapoolProvisionedCapacityGb": { # Exapool provisioned capacities for each SKU type # Output only. [Output Only] Provisioned capacities for each SKU for this Exapool in GiB - "capacityOptimized": "A String", # Output only. Size, in GiB, of provisioned capacity-optimized capacity for this Exapool - "readOptimized": "A String", # Output only. Size, in GiB, of provisioned read-optimized capacity for this Exapool - "writeOptimized": "A String", # Output only. Size, in GiB, of provisioned write-optimized capacity for this Exapool + "capacityOptimized": "A String", # Size, in GiB, of provisioned capacity-optimized capacity for this Exapool + "readOptimized": "A String", # Size, in GiB, of provisioned read-optimized capacity for this Exapool + "writeOptimized": "A String", # Size, in GiB, of provisioned write-optimized capacity for this Exapool }, "id": "A String", # Output only. [Output Only] The unique identifier for the resource. This identifier is # defined by the server. @@ -1765,9 +1765,9 @@Method Details
"description": "A String", # An optional description of this resource. Provide this property when you # create the resource. "exapoolProvisionedCapacityGb": { # Exapool provisioned capacities for each SKU type # Output only. [Output Only] Provisioned capacities for each SKU for this Exapool in GiB - "capacityOptimized": "A String", # Output only. Size, in GiB, of provisioned capacity-optimized capacity for this Exapool - "readOptimized": "A String", # Output only. Size, in GiB, of provisioned read-optimized capacity for this Exapool - "writeOptimized": "A String", # Output only. Size, in GiB, of provisioned write-optimized capacity for this Exapool + "capacityOptimized": "A String", # Size, in GiB, of provisioned capacity-optimized capacity for this Exapool + "readOptimized": "A String", # Size, in GiB, of provisioned read-optimized capacity for this Exapool + "writeOptimized": "A String", # Size, in GiB, of provisioned write-optimized capacity for this Exapool }, "id": "A String", # Output only. [Output Only] The unique identifier for the resource. This identifier is # defined by the server. @@ -3047,9 +3047,9 @@Method Details
"description": "A String", # An optional description of this resource. Provide this property when you # create the resource. "exapoolProvisionedCapacityGb": { # Exapool provisioned capacities for each SKU type # Output only. [Output Only] Provisioned capacities for each SKU for this Exapool in GiB - "capacityOptimized": "A String", # Output only. Size, in GiB, of provisioned capacity-optimized capacity for this Exapool - "readOptimized": "A String", # Output only. Size, in GiB, of provisioned read-optimized capacity for this Exapool - "writeOptimized": "A String", # Output only. Size, in GiB, of provisioned write-optimized capacity for this Exapool + "capacityOptimized": "A String", # Size, in GiB, of provisioned capacity-optimized capacity for this Exapool + "readOptimized": "A String", # Size, in GiB, of provisioned read-optimized capacity for this Exapool + "writeOptimized": "A String", # Size, in GiB, of provisioned write-optimized capacity for this Exapool }, "id": "A String", # Output only. [Output Only] The unique identifier for the resource. This identifier is # defined by the server. diff --git a/docs/dyn/compute_beta.subnetworks.html b/docs/dyn/compute_beta.subnetworks.html index 44cf93de6f..0e08aa7af1 100644 --- a/docs/dyn/compute_beta.subnetworks.html +++ b/docs/dyn/compute_beta.subnetworks.html @@ -251,9 +251,9 @@Method Details
# Private Cloud network with one primary IP range and zero or more secondary # IP ranges. For more information, read # Virtual Private Cloud (VPC) Network. - "allowSubnetCidrRoutesOverlap": True or False, # Whether this subnetwork's ranges can conflict with existing static routes. + "allowSubnetCidrRoutesOverlap": True or False, # Whether this subnetwork's ranges can conflict with existing custom routes. # Setting this to true allows this subnetwork's primary and secondary ranges - # to overlap with (and contain) static routes that have already been + # to overlap with (and contain) custom routes that have already been # configured on the corresponding network. # # For example if a static route has range 10.1.0.0/16, a subnet @@ -269,8 +269,6 @@Method Details
# # The default value is false and applies to all existing subnetworks and # automatically created subnetworks. - # - # This field cannot be set to true at resource creation time. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 # text format. "description": "A String", # An optional description of this resource. Provide this property when you @@ -410,19 +408,32 @@Method Details
"secondaryIpRanges": [ # An array of configurations for secondary IP ranges for VM instances # contained in this subnetwork. The primary IP of such VM must belong to the # primary ipCidrRange of the subnetwork. The alias IPs may belong to either - # primary or secondary ranges. This field can be updated with apatch request. + # primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges. { # Represents a secondary IP range of a subnetwork. "ipCidrRange": "A String", # The range of IP addresses belonging to this subnetwork secondary range. # Provide this property when you create the subnetwork. Ranges must be # unique and non-overlapping with all primary and secondary IP ranges - # within a network. Only IPv4 is supported. The range can be any range - # listed in theValid + # within a network. Both IPv4 and IPv6 ranges are supported. For IPv4, + # the range can be any range listed in theValid # ranges list. + # + # For IPv6: + # The range must have a /64 prefix length. + # The range must be omitted, for auto-allocation from Google-defined ULA + # IPv6 range. + # For BYOGUA internal IPv6 secondary range, the range may be specified + # along with the `ipCollection` field. + # If an `ipCollection` is specified, the requested ip_cidr_range must lie + # within the range of the PDP referenced by the `ipCollection` field for + # allocation. + # If `ipCollection` field is specified, but ip_cidr_range is not, + # the range is auto-allocated from the PDP referenced by the `ipCollection` + # field. "rangeName": "A String", # The name associated with this subnetwork secondary range, used when adding - # an alias IP range to a VM instance. + # an alias IP/IPv6 range to a VM instance. # The name must be 1-63 characters long, and comply withRFC1035. # The name must be unique within the subnetwork. - "reservedInternalRange": "A String", # The URL of the reserved internal range. + "reservedInternalRange": "A String", # The URL of the reserved internal range. Only IPv4 is supported. }, ], "selfLink": "A String", # [Output Only] Server-defined URL for the resource. @@ -1176,9 +1187,9 @@Method Details
# Private Cloud network with one primary IP range and zero or more secondary # IP ranges. For more information, read # Virtual Private Cloud (VPC) Network. - "allowSubnetCidrRoutesOverlap": True or False, # Whether this subnetwork's ranges can conflict with existing static routes. + "allowSubnetCidrRoutesOverlap": True or False, # Whether this subnetwork's ranges can conflict with existing custom routes. # Setting this to true allows this subnetwork's primary and secondary ranges - # to overlap with (and contain) static routes that have already been + # to overlap with (and contain) custom routes that have already been # configured on the corresponding network. # # For example if a static route has range 10.1.0.0/16, a subnet @@ -1194,8 +1205,6 @@Method Details
# # The default value is false and applies to all existing subnetworks and # automatically created subnetworks. - # - # This field cannot be set to true at resource creation time. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 # text format. "description": "A String", # An optional description of this resource. Provide this property when you @@ -1335,19 +1344,32 @@Method Details
"secondaryIpRanges": [ # An array of configurations for secondary IP ranges for VM instances # contained in this subnetwork. The primary IP of such VM must belong to the # primary ipCidrRange of the subnetwork. The alias IPs may belong to either - # primary or secondary ranges. This field can be updated with apatch request. + # primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges. { # Represents a secondary IP range of a subnetwork. "ipCidrRange": "A String", # The range of IP addresses belonging to this subnetwork secondary range. # Provide this property when you create the subnetwork. Ranges must be # unique and non-overlapping with all primary and secondary IP ranges - # within a network. Only IPv4 is supported. The range can be any range - # listed in theValid + # within a network. Both IPv4 and IPv6 ranges are supported. For IPv4, + # the range can be any range listed in theValid # ranges list. + # + # For IPv6: + # The range must have a /64 prefix length. + # The range must be omitted, for auto-allocation from Google-defined ULA + # IPv6 range. + # For BYOGUA internal IPv6 secondary range, the range may be specified + # along with the `ipCollection` field. + # If an `ipCollection` is specified, the requested ip_cidr_range must lie + # within the range of the PDP referenced by the `ipCollection` field for + # allocation. + # If `ipCollection` field is specified, but ip_cidr_range is not, + # the range is auto-allocated from the PDP referenced by the `ipCollection` + # field. "rangeName": "A String", # The name associated with this subnetwork secondary range, used when adding - # an alias IP range to a VM instance. + # an alias IP/IPv6 range to a VM instance. # The name must be 1-63 characters long, and comply withRFC1035. # The name must be unique within the subnetwork. - "reservedInternalRange": "A String", # The URL of the reserved internal range. + "reservedInternalRange": "A String", # The URL of the reserved internal range. Only IPv4 is supported. }, ], "selfLink": "A String", # [Output Only] Server-defined URL for the resource. @@ -1800,9 +1822,9 @@Method Details
# Private Cloud network with one primary IP range and zero or more secondary # IP ranges. For more information, read # Virtual Private Cloud (VPC) Network. - "allowSubnetCidrRoutesOverlap": True or False, # Whether this subnetwork's ranges can conflict with existing static routes. + "allowSubnetCidrRoutesOverlap": True or False, # Whether this subnetwork's ranges can conflict with existing custom routes. # Setting this to true allows this subnetwork's primary and secondary ranges - # to overlap with (and contain) static routes that have already been + # to overlap with (and contain) custom routes that have already been # configured on the corresponding network. # # For example if a static route has range 10.1.0.0/16, a subnet @@ -1818,8 +1840,6 @@Method Details
# # The default value is false and applies to all existing subnetworks and # automatically created subnetworks. - # - # This field cannot be set to true at resource creation time. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 # text format. "description": "A String", # An optional description of this resource. Provide this property when you @@ -1959,19 +1979,32 @@Method Details
"secondaryIpRanges": [ # An array of configurations for secondary IP ranges for VM instances # contained in this subnetwork. The primary IP of such VM must belong to the # primary ipCidrRange of the subnetwork. The alias IPs may belong to either - # primary or secondary ranges. This field can be updated with apatch request. + # primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges. { # Represents a secondary IP range of a subnetwork. "ipCidrRange": "A String", # The range of IP addresses belonging to this subnetwork secondary range. # Provide this property when you create the subnetwork. Ranges must be # unique and non-overlapping with all primary and secondary IP ranges - # within a network. Only IPv4 is supported. The range can be any range - # listed in theValid + # within a network. Both IPv4 and IPv6 ranges are supported. For IPv4, + # the range can be any range listed in theValid # ranges list. + # + # For IPv6: + # The range must have a /64 prefix length. + # The range must be omitted, for auto-allocation from Google-defined ULA + # IPv6 range. + # For BYOGUA internal IPv6 secondary range, the range may be specified + # along with the `ipCollection` field. + # If an `ipCollection` is specified, the requested ip_cidr_range must lie + # within the range of the PDP referenced by the `ipCollection` field for + # allocation. + # If `ipCollection` field is specified, but ip_cidr_range is not, + # the range is auto-allocated from the PDP referenced by the `ipCollection` + # field. "rangeName": "A String", # The name associated with this subnetwork secondary range, used when adding - # an alias IP range to a VM instance. + # an alias IP/IPv6 range to a VM instance. # The name must be 1-63 characters long, and comply withRFC1035. # The name must be unique within the subnetwork. - "reservedInternalRange": "A String", # The URL of the reserved internal range. + "reservedInternalRange": "A String", # The URL of the reserved internal range. Only IPv4 is supported. }, ], "selfLink": "A String", # [Output Only] Server-defined URL for the resource. @@ -2426,9 +2459,9 @@Method Details
# Private Cloud network with one primary IP range and zero or more secondary # IP ranges. For more information, read # Virtual Private Cloud (VPC) Network. - "allowSubnetCidrRoutesOverlap": True or False, # Whether this subnetwork's ranges can conflict with existing static routes. + "allowSubnetCidrRoutesOverlap": True or False, # Whether this subnetwork's ranges can conflict with existing custom routes. # Setting this to true allows this subnetwork's primary and secondary ranges - # to overlap with (and contain) static routes that have already been + # to overlap with (and contain) custom routes that have already been # configured on the corresponding network. # # For example if a static route has range 10.1.0.0/16, a subnet @@ -2444,8 +2477,6 @@Method Details
# # The default value is false and applies to all existing subnetworks and # automatically created subnetworks. - # - # This field cannot be set to true at resource creation time. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 # text format. "description": "A String", # An optional description of this resource. Provide this property when you @@ -2585,19 +2616,32 @@Method Details
"secondaryIpRanges": [ # An array of configurations for secondary IP ranges for VM instances # contained in this subnetwork. The primary IP of such VM must belong to the # primary ipCidrRange of the subnetwork. The alias IPs may belong to either - # primary or secondary ranges. This field can be updated with apatch request. + # primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges. { # Represents a secondary IP range of a subnetwork. "ipCidrRange": "A String", # The range of IP addresses belonging to this subnetwork secondary range. # Provide this property when you create the subnetwork. Ranges must be # unique and non-overlapping with all primary and secondary IP ranges - # within a network. Only IPv4 is supported. The range can be any range - # listed in theValid + # within a network. Both IPv4 and IPv6 ranges are supported. For IPv4, + # the range can be any range listed in theValid # ranges list. + # + # For IPv6: + # The range must have a /64 prefix length. + # The range must be omitted, for auto-allocation from Google-defined ULA + # IPv6 range. + # For BYOGUA internal IPv6 secondary range, the range may be specified + # along with the `ipCollection` field. + # If an `ipCollection` is specified, the requested ip_cidr_range must lie + # within the range of the PDP referenced by the `ipCollection` field for + # allocation. + # If `ipCollection` field is specified, but ip_cidr_range is not, + # the range is auto-allocated from the PDP referenced by the `ipCollection` + # field. "rangeName": "A String", # The name associated with this subnetwork secondary range, used when adding - # an alias IP range to a VM instance. + # an alias IP/IPv6 range to a VM instance. # The name must be 1-63 characters long, and comply withRFC1035. # The name must be unique within the subnetwork. - "reservedInternalRange": "A String", # The URL of the reserved internal range. + "reservedInternalRange": "A String", # The URL of the reserved internal range. Only IPv4 is supported. }, ], "selfLink": "A String", # [Output Only] Server-defined URL for the resource. @@ -2823,6 +2867,7 @@Method Details
"secondaryIpRanges": [ # Secondary IP ranges. { # Secondary IP range of a usable subnetwork. "ipCidrRange": "A String", # The range of IP addresses belonging to this subnetwork secondary range. + # Can be Ipv4 or Ipv6 range. "rangeName": "A String", # The name associated with this subnetwork secondary range, used when adding # an alias IP range to a VM instance. # The name must be 1-63 characters long, and comply withRFC1035. @@ -2958,9 +3003,9 @@Method Details
# Private Cloud network with one primary IP range and zero or more secondary # IP ranges. For more information, read # Virtual Private Cloud (VPC) Network. - "allowSubnetCidrRoutesOverlap": True or False, # Whether this subnetwork's ranges can conflict with existing static routes. + "allowSubnetCidrRoutesOverlap": True or False, # Whether this subnetwork's ranges can conflict with existing custom routes. # Setting this to true allows this subnetwork's primary and secondary ranges - # to overlap with (and contain) static routes that have already been + # to overlap with (and contain) custom routes that have already been # configured on the corresponding network. # # For example if a static route has range 10.1.0.0/16, a subnet @@ -2976,8 +3021,6 @@Method Details
# # The default value is false and applies to all existing subnetworks and # automatically created subnetworks. - # - # This field cannot be set to true at resource creation time. "creationTimestamp": "A String", # Output only. [Output Only] Creation timestamp inRFC3339 # text format. "description": "A String", # An optional description of this resource. Provide this property when you @@ -3117,19 +3160,32 @@Method Details
"secondaryIpRanges": [ # An array of configurations for secondary IP ranges for VM instances # contained in this subnetwork. The primary IP of such VM must belong to the # primary ipCidrRange of the subnetwork. The alias IPs may belong to either - # primary or secondary ranges. This field can be updated with apatch request. + # primary or secondary ranges. This field can be updated with apatch request. Supports both IPv4 and IPv6 ranges. { # Represents a secondary IP range of a subnetwork. "ipCidrRange": "A String", # The range of IP addresses belonging to this subnetwork secondary range. # Provide this property when you create the subnetwork. Ranges must be # unique and non-overlapping with all primary and secondary IP ranges - # within a network. Only IPv4 is supported. The range can be any range - # listed in theValid + # within a network. Both IPv4 and IPv6 ranges are supported. For IPv4, + # the range can be any range listed in theValid # ranges list. + # + # For IPv6: + # The range must have a /64 prefix length. + # The range must be omitted, for auto-allocation from Google-defined ULA + # IPv6 range. + # For BYOGUA internal IPv6 secondary range, the range may be specified + # along with the `ipCollection` field. + # If an `ipCollection` is specified, the requested ip_cidr_range must lie + # within the range of the PDP referenced by the `ipCollection` field for + # allocation. + # If `ipCollection` field is specified, but ip_cidr_range is not, + # the range is auto-allocated from the PDP referenced by the `ipCollection` + # field. "rangeName": "A String", # The name associated with this subnetwork secondary range, used when adding - # an alias IP range to a VM instance. + # an alias IP/IPv6 range to a VM instance. # The name must be 1-63 characters long, and comply withRFC1035. # The name must be unique within the subnetwork. - "reservedInternalRange": "A String", # The URL of the reserved internal range. + "reservedInternalRange": "A String", # The URL of the reserved internal range. Only IPv4 is supported. }, ], "selfLink": "A String", # [Output Only] Server-defined URL for the resource. diff --git a/docs/dyn/compute_beta.targetVpnGateways.html b/docs/dyn/compute_beta.targetVpnGateways.html index 479d05e407..3f26c8c8a1 100644 --- a/docs/dyn/compute_beta.targetVpnGateways.html +++ b/docs/dyn/compute_beta.targetVpnGateways.html @@ -258,6 +258,25 @@Method Details
# cannot be a dash. "network": "A String", # URL of the network to which this VPN gateway is attached. Provided by the # client when the VPN gateway is created. + "params": { # Input only. [Input Only] Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Tag keys/values directly bound to this resource. + # Tag keys and values have the same definition as resource + # manager tags. The field is allowed for INSERT + # only. The keys/values to set on the resource should be specified in + # either ID { : } or Namespaced format + # { : }. + # For example the following are valid inputs: + # * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"} + # * {"123/environment" : "production", "345/abc" : "xyz"} + # Note: + # * Invalid combinations of ID & namespaced format is not supported. For + # instance: {"123/environment" : "tagValues/444"} is invalid. + # * Inconsistent format is not supported. For instance: + # {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid. + "a_key": "A String", + }, + }, "region": "A String", # [Output Only] URL of the region where the target VPN gateway resides. # You must specify this field as part of the HTTP request URL. It is # not settable as a field in the request body. @@ -692,6 +711,25 @@Method Details
# cannot be a dash. "network": "A String", # URL of the network to which this VPN gateway is attached. Provided by the # client when the VPN gateway is created. + "params": { # Input only. [Input Only] Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Tag keys/values directly bound to this resource. + # Tag keys and values have the same definition as resource + # manager tags. The field is allowed for INSERT + # only. The keys/values to set on the resource should be specified in + # either ID { : } or Namespaced format + # { : }. + # For example the following are valid inputs: + # * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"} + # * {"123/environment" : "production", "345/abc" : "xyz"} + # Note: + # * Invalid combinations of ID & namespaced format is not supported. For + # instance: {"123/environment" : "tagValues/444"} is invalid. + # * Inconsistent format is not supported. For instance: + # {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid. + "a_key": "A String", + }, + }, "region": "A String", # [Output Only] URL of the region where the target VPN gateway resides. # You must specify this field as part of the HTTP request URL. It is # not settable as a field in the request body. @@ -756,6 +794,25 @@Method Details
# cannot be a dash. "network": "A String", # URL of the network to which this VPN gateway is attached. Provided by the # client when the VPN gateway is created. + "params": { # Input only. [Input Only] Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Tag keys/values directly bound to this resource. + # Tag keys and values have the same definition as resource + # manager tags. The field is allowed for INSERT + # only. The keys/values to set on the resource should be specified in + # either ID { : } or Namespaced format + # { : }. + # For example the following are valid inputs: + # * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"} + # * {"123/environment" : "production", "345/abc" : "xyz"} + # Note: + # * Invalid combinations of ID & namespaced format is not supported. For + # instance: {"123/environment" : "tagValues/444"} is invalid. + # * Inconsistent format is not supported. For instance: + # {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid. + "a_key": "A String", + }, + }, "region": "A String", # [Output Only] URL of the region where the target VPN gateway resides. # You must specify this field as part of the HTTP request URL. It is # not settable as a field in the request body. @@ -1183,6 +1240,25 @@Method Details
# cannot be a dash. "network": "A String", # URL of the network to which this VPN gateway is attached. Provided by the # client when the VPN gateway is created. + "params": { # Input only. [Input Only] Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Tag keys/values directly bound to this resource. + # Tag keys and values have the same definition as resource + # manager tags. The field is allowed for INSERT + # only. The keys/values to set on the resource should be specified in + # either ID { : } or Namespaced format + # { : }. + # For example the following are valid inputs: + # * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"} + # * {"123/environment" : "production", "345/abc" : "xyz"} + # Note: + # * Invalid combinations of ID & namespaced format is not supported. For + # instance: {"123/environment" : "tagValues/444"} is invalid. + # * Inconsistent format is not supported. For instance: + # {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid. + "a_key": "A String", + }, + }, "region": "A String", # [Output Only] URL of the region where the target VPN gateway resides. # You must specify this field as part of the HTTP request URL. It is # not settable as a field in the request body. diff --git a/docs/dyn/compute_beta.vpnGateways.html b/docs/dyn/compute_beta.vpnGateways.html index 1b2e7f4a25..718bba41b4 100644 --- a/docs/dyn/compute_beta.vpnGateways.html +++ b/docs/dyn/compute_beta.vpnGateways.html @@ -261,6 +261,25 @@Method Details
# cannot be a dash. "network": "A String", # URL of the network to which this VPN gateway is attached. Provided by the # client when the VPN gateway is created. + "params": { # Input only. [Input Only] Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Tag keys/values directly bound to this resource. + # Tag keys and values have the same definition as resource + # manager tags. The field is allowed for INSERT + # only. The keys/values to set on the resource should be specified in + # either ID { : } or Namespaced format + # { : }. + # For example the following are valid inputs: + # * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"} + # * {"123/environment" : "production", "345/abc" : "xyz"} + # Note: + # * Invalid combinations of ID & namespaced format is not supported. For + # instance: {"123/environment" : "tagValues/444"} is invalid. + # * Inconsistent format is not supported. For instance: + # {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid. + "a_key": "A String", + }, + }, "region": "A String", # Output only. [Output Only] URL of the region where the VPN gateway resides. "selfLink": "A String", # Output only. [Output Only] Server-defined URL for the resource. "stackType": "A String", # The stack type for this VPN gateway to identify the IP protocols that are @@ -715,6 +734,25 @@Method Details
# cannot be a dash. "network": "A String", # URL of the network to which this VPN gateway is attached. Provided by the # client when the VPN gateway is created. + "params": { # Input only. [Input Only] Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Tag keys/values directly bound to this resource. + # Tag keys and values have the same definition as resource + # manager tags. The field is allowed for INSERT + # only. The keys/values to set on the resource should be specified in + # either ID { : } or Namespaced format + # { : }. + # For example the following are valid inputs: + # * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"} + # * {"123/environment" : "production", "345/abc" : "xyz"} + # Note: + # * Invalid combinations of ID & namespaced format is not supported. For + # instance: {"123/environment" : "tagValues/444"} is invalid. + # * Inconsistent format is not supported. For instance: + # {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid. + "a_key": "A String", + }, + }, "region": "A String", # Output only. [Output Only] URL of the region where the VPN gateway resides. "selfLink": "A String", # Output only. [Output Only] Server-defined URL for the resource. "stackType": "A String", # The stack type for this VPN gateway to identify the IP protocols that are @@ -849,6 +887,25 @@Method Details
# cannot be a dash. "network": "A String", # URL of the network to which this VPN gateway is attached. Provided by the # client when the VPN gateway is created. + "params": { # Input only. [Input Only] Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Tag keys/values directly bound to this resource. + # Tag keys and values have the same definition as resource + # manager tags. The field is allowed for INSERT + # only. The keys/values to set on the resource should be specified in + # either ID { : } or Namespaced format + # { : }. + # For example the following are valid inputs: + # * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"} + # * {"123/environment" : "production", "345/abc" : "xyz"} + # Note: + # * Invalid combinations of ID & namespaced format is not supported. For + # instance: {"123/environment" : "tagValues/444"} is invalid. + # * Inconsistent format is not supported. For instance: + # {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid. + "a_key": "A String", + }, + }, "region": "A String", # Output only. [Output Only] URL of the region where the VPN gateway resides. "selfLink": "A String", # Output only. [Output Only] Server-defined URL for the resource. "stackType": "A String", # The stack type for this VPN gateway to identify the IP protocols that are @@ -1295,6 +1352,25 @@Method Details
# cannot be a dash. "network": "A String", # URL of the network to which this VPN gateway is attached. Provided by the # client when the VPN gateway is created. + "params": { # Input only. [Input Only] Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Tag keys/values directly bound to this resource. + # Tag keys and values have the same definition as resource + # manager tags. The field is allowed for INSERT + # only. The keys/values to set on the resource should be specified in + # either ID { : } or Namespaced format + # { : }. + # For example the following are valid inputs: + # * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"} + # * {"123/environment" : "production", "345/abc" : "xyz"} + # Note: + # * Invalid combinations of ID & namespaced format is not supported. For + # instance: {"123/environment" : "tagValues/444"} is invalid. + # * Inconsistent format is not supported. For instance: + # {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid. + "a_key": "A String", + }, + }, "region": "A String", # Output only. [Output Only] URL of the region where the VPN gateway resides. "selfLink": "A String", # Output only. [Output Only] Server-defined URL for the resource. "stackType": "A String", # The stack type for this VPN gateway to identify the IP protocols that are diff --git a/docs/dyn/compute_beta.vpnTunnels.html b/docs/dyn/compute_beta.vpnTunnels.html index eabb3f618d..5e4debfccf 100644 --- a/docs/dyn/compute_beta.vpnTunnels.html +++ b/docs/dyn/compute_beta.vpnTunnels.html @@ -292,6 +292,25 @@Method Details
# character must be a lowercase letter, and all following characters must # be a dash, lowercase letter, or digit, except the last character, which # cannot be a dash. + "params": { # Input only. [Input Only] Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Tag keys/values directly bound to this resource. + # Tag keys and values have the same definition as resource + # manager tags. The field is allowed for INSERT + # only. The keys/values to set on the resource should be specified in + # either ID { : } or Namespaced format + # { : }. + # For example the following are valid inputs: + # * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"} + # * {"123/environment" : "production", "345/abc" : "xyz"} + # Note: + # * Invalid combinations of ID & namespaced format is not supported. For + # instance: {"123/environment" : "tagValues/444"} is invalid. + # * Inconsistent format is not supported. For instance: + # {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid. + "a_key": "A String", + }, + }, "peerExternalGateway": "A String", # URL of the peer side external VPN gateway to which this VPN tunnel is # connected. # Provided by the client when the VPN tunnel is created. @@ -823,6 +842,25 @@Method Details
# character must be a lowercase letter, and all following characters must # be a dash, lowercase letter, or digit, except the last character, which # cannot be a dash. + "params": { # Input only. [Input Only] Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Tag keys/values directly bound to this resource. + # Tag keys and values have the same definition as resource + # manager tags. The field is allowed for INSERT + # only. The keys/values to set on the resource should be specified in + # either ID { : } or Namespaced format + # { : }. + # For example the following are valid inputs: + # * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"} + # * {"123/environment" : "production", "345/abc" : "xyz"} + # Note: + # * Invalid combinations of ID & namespaced format is not supported. For + # instance: {"123/environment" : "tagValues/444"} is invalid. + # * Inconsistent format is not supported. For instance: + # {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid. + "a_key": "A String", + }, + }, "peerExternalGateway": "A String", # URL of the peer side external VPN gateway to which this VPN tunnel is # connected. # Provided by the client when the VPN tunnel is created. @@ -983,6 +1021,25 @@Method Details
# character must be a lowercase letter, and all following characters must # be a dash, lowercase letter, or digit, except the last character, which # cannot be a dash. + "params": { # Input only. [Input Only] Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Tag keys/values directly bound to this resource. + # Tag keys and values have the same definition as resource + # manager tags. The field is allowed for INSERT + # only. The keys/values to set on the resource should be specified in + # either ID { : } or Namespaced format + # { : }. + # For example the following are valid inputs: + # * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"} + # * {"123/environment" : "production", "345/abc" : "xyz"} + # Note: + # * Invalid combinations of ID & namespaced format is not supported. For + # instance: {"123/environment" : "tagValues/444"} is invalid. + # * Inconsistent format is not supported. For instance: + # {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid. + "a_key": "A String", + }, + }, "peerExternalGateway": "A String", # URL of the peer side external VPN gateway to which this VPN tunnel is # connected. # Provided by the client when the VPN tunnel is created. @@ -1506,6 +1563,25 @@Method Details
# character must be a lowercase letter, and all following characters must # be a dash, lowercase letter, or digit, except the last character, which # cannot be a dash. + "params": { # Input only. [Input Only] Additional params passed with the request, but not persisted + # as part of resource payload. + "resourceManagerTags": { # Tag keys/values directly bound to this resource. + # Tag keys and values have the same definition as resource + # manager tags. The field is allowed for INSERT + # only. The keys/values to set on the resource should be specified in + # either ID { : } or Namespaced format + # { : }. + # For example the following are valid inputs: + # * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"} + # * {"123/environment" : "production", "345/abc" : "xyz"} + # Note: + # * Invalid combinations of ID & namespaced format is not supported. For + # instance: {"123/environment" : "tagValues/444"} is invalid. + # * Inconsistent format is not supported. For instance: + # {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid. + "a_key": "A String", + }, + }, "peerExternalGateway": "A String", # URL of the peer side external VPN gateway to which this VPN tunnel is # connected. # Provided by the client when the VPN tunnel is created. diff --git a/docs/dyn/compute_v1.advice.html b/docs/dyn/compute_v1.advice.html index 5486c74059..7f86307da4 100644 --- a/docs/dyn/compute_v1.advice.html +++ b/docs/dyn/compute_v1.advice.html @@ -138,11 +138,9 @@Method Details
# Use for GPU reservations. }, }, - "timeRangeSpec": { # A flexible specification of a time range that has 3 points of # Specification of a time range in which the resources may be created. + "timeRangeSpec": { # Specifies a flexible time range with flexible start time and duration. # Specification of a time range in which the resources may be created. # The time range specifies start of resource use and planned end of resource # use. - # flexibility: (1) a flexible start time, (2) a flexible end time, (3) a - # flexible duration. # # It is possible to specify a contradictory time range that cannot be matched # by any Interval. This causes a validation error. diff --git a/docs/dyn/compute_v1.machineImages.html b/docs/dyn/compute_v1.machineImages.html index b72daeb4da..9edd059feb 100644 --- a/docs/dyn/compute_v1.machineImages.html +++ b/docs/dyn/compute_v1.machineImages.html @@ -1360,6 +1360,18 @@Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Machine Image parameters # Input only. [Input Only] Additional parameters that are passed in the request, but are + # not persisted in the resource. + "resourceManagerTags": { # Input only. Resource manager tags to be bound to the machine image. Tag keys and values + # have the same definition as resource + # manager tags. Keys and values can be either in numeric format, + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and + # `{tag_value_short_name}`. The field is ignored (both PUT & + # PATCH) when empty. + "a_key": "A String", + }, + }, "satisfiesPzi": True or False, # Output only. Reserved for future use. "satisfiesPzs": True or False, # Output only. [Output Only] Reserved for future use. "savedDisks": [ # Output only. An array of Machine Image specific properties for disks attached to the @@ -3267,6 +3279,18 @@Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Machine Image parameters # Input only. [Input Only] Additional parameters that are passed in the request, but are + # not persisted in the resource. + "resourceManagerTags": { # Input only. Resource manager tags to be bound to the machine image. Tag keys and values + # have the same definition as resource + # manager tags. Keys and values can be either in numeric format, + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and + # `{tag_value_short_name}`. The field is ignored (both PUT & + # PATCH) when empty. + "a_key": "A String", + }, + }, "satisfiesPzi": True or False, # Output only. Reserved for future use. "satisfiesPzs": True or False, # Output only. [Output Only] Reserved for future use. "savedDisks": [ # Output only. An array of Machine Image specific properties for disks attached to the @@ -5167,6 +5191,18 @@Method Details
# character must be a lowercase letter, and all following characters must be # a dash, lowercase letter, or digit, except the last character, which cannot # be a dash. + "params": { # Machine Image parameters # Input only. [Input Only] Additional parameters that are passed in the request, but are + # not persisted in the resource. + "resourceManagerTags": { # Input only. Resource manager tags to be bound to the machine image. Tag keys and values + # have the same definition as resource + # manager tags. Keys and values can be either in numeric format, + # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in + # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and + # `{tag_value_short_name}`. The field is ignored (both PUT & + # PATCH) when empty. + "a_key": "A String", + }, + }, "satisfiesPzi": True or False, # Output only. Reserved for future use. "satisfiesPzs": True or False, # Output only. [Output Only] Reserved for future use. "savedDisks": [ # Output only. An array of Machine Image specific properties for disks attached to the diff --git a/docs/dyn/compute_v1.machineTypes.html b/docs/dyn/compute_v1.machineTypes.html index 94ad39e834..1d76fc89f4 100644 --- a/docs/dyn/compute_v1.machineTypes.html +++ b/docs/dyn/compute_v1.machineTypes.html @@ -219,6 +219,10 @@Method Details
}, ], "architecture": "A String", # [Output Only] The architecture of the machine type. + "bundledLocalSsds": { # [Output Only] The configuration of bundled local SSD for the machine type. + "defaultInterface": "A String", # The default disk interface if the interface is not specified. + "partitionCount": 42, # The number of partitions. + }, "creationTimestamp": "A String", # [Output Only] Creation timestamp inRFC3339 # text format. "deprecated": { # Deprecation status for a public resource. # [Output Only] The deprecation status associated with this machine type. @@ -377,6 +381,10 @@Method Details
}, ], "architecture": "A String", # [Output Only] The architecture of the machine type. + "bundledLocalSsds": { # [Output Only] The configuration of bundled local SSD for the machine type. + "defaultInterface": "A String", # The default disk interface if the interface is not specified. + "partitionCount": 42, # The number of partitions. + }, "creationTimestamp": "A String", # [Output Only] Creation timestamp inRFC3339 # text format. "deprecated": { # Deprecation status for a public resource. # [Output Only] The deprecation status associated with this machine type. @@ -536,6 +544,10 @@Method Details
}, ], "architecture": "A String", # [Output Only] The architecture of the machine type. + "bundledLocalSsds": { # [Output Only] The configuration of bundled local SSD for the machine type. + "defaultInterface": "A String", # The default disk interface if the interface is not specified. + "partitionCount": 42, # The number of partitions. + }, "creationTimestamp": "A String", # [Output Only] Creation timestamp inRFC3339 # text format. "deprecated": { # Deprecation status for a public resource. # [Output Only] The deprecation status associated with this machine type. diff --git a/docs/dyn/compute_v1.networks.html b/docs/dyn/compute_v1.networks.html index bc9ea32c80..60928f4120 100644 --- a/docs/dyn/compute_v1.networks.html +++ b/docs/dyn/compute_v1.networks.html @@ -208,9 +208,7 @@Method Details
"peerMtu": 42, # Output only. [Output Only] Maximum Transmission Unit in bytes of the peer network. "stackType": "A String", # Which IP version(s) of traffic and routes are allowed to be imported or # exported between peer networks. The default value is IPV4_ONLY. - "state": "A String", # Output only. [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The - # peering is `ACTIVE` when there's a matching configuration in the peer - # network. + "state": "A String", # Output only. [Output Only] State for the peering. "stateDetails": "A String", # Output only. [Output Only] Details about the current state of the peering. "updateStrategy": "A String", # The update strategy determines the semantics for updates and deletes to the # peering connection configuration. @@ -937,9 +935,7 @@Method Details
"peerMtu": 42, # Output only. [Output Only] Maximum Transmission Unit in bytes of the peer network. "stackType": "A String", # Which IP version(s) of traffic and routes are allowed to be imported or # exported between peer networks. The default value is IPV4_ONLY. - "state": "A String", # Output only. [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The - # peering is `ACTIVE` when there's a matching configuration in the peer - # network. + "state": "A String", # Output only. [Output Only] State for the peering. "stateDetails": "A String", # Output only. [Output Only] Details about the current state of the peering. "updateStrategy": "A String", # The update strategy determines the semantics for updates and deletes to the # peering connection configuration. @@ -1667,9 +1663,7 @@Method Details
"peerMtu": 42, # Output only. [Output Only] Maximum Transmission Unit in bytes of the peer network. "stackType": "A String", # Which IP version(s) of traffic and routes are allowed to be imported or # exported between peer networks. The default value is IPV4_ONLY. - "state": "A String", # Output only. [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The - # peering is `ACTIVE` when there's a matching configuration in the peer - # network. + "state": "A String", # Output only. [Output Only] State for the peering. "stateDetails": "A String", # Output only. [Output Only] Details about the current state of the peering. "updateStrategy": "A String", # The update strategy determines the semantics for updates and deletes to the # peering connection configuration. @@ -2221,9 +2215,7 @@Method Details
"peerMtu": 42, # Output only. [Output Only] Maximum Transmission Unit in bytes of the peer network. "stackType": "A String", # Which IP version(s) of traffic and routes are allowed to be imported or # exported between peer networks. The default value is IPV4_ONLY. - "state": "A String", # Output only. [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The - # peering is `ACTIVE` when there's a matching configuration in the peer - # network. + "state": "A String", # Output only. [Output Only] State for the peering. "stateDetails": "A String", # Output only. [Output Only] Details about the current state of the peering. "updateStrategy": "A String", # The update strategy determines the semantics for updates and deletes to the # peering connection configuration. @@ -2633,9 +2625,7 @@Method Details
"peerMtu": 42, # Output only. [Output Only] Maximum Transmission Unit in bytes of the peer network. "stackType": "A String", # Which IP version(s) of traffic and routes are allowed to be imported or # exported between peer networks. The default value is IPV4_ONLY. - "state": "A String", # Output only. [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The - # peering is `ACTIVE` when there's a matching configuration in the peer - # network. + "state": "A String", # Output only. [Output Only] State for the peering. "stateDetails": "A String", # Output only. [Output Only] Details about the current state of the peering. "updateStrategy": "A String", # The update strategy determines the semantics for updates and deletes to the # peering connection configuration. @@ -3876,9 +3866,7 @@Method Details
"peerMtu": 42, # Output only. [Output Only] Maximum Transmission Unit in bytes of the peer network. "stackType": "A String", # Which IP version(s) of traffic and routes are allowed to be imported or # exported between peer networks. The default value is IPV4_ONLY. - "state": "A String", # Output only. [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The - # peering is `ACTIVE` when there's a matching configuration in the peer - # network. + "state": "A String", # Output only. [Output Only] State for the peering. "stateDetails": "A String", # Output only. [Output Only] Details about the current state of the peering. "updateStrategy": "A String", # The update strategy determines the semantics for updates and deletes to the # peering connection configuration. diff --git a/docs/dyn/compute_v1.regionHealthCheckServices.html b/docs/dyn/compute_v1.regionHealthCheckServices.html index 291adb8808..ca8e8f2151 100644 --- a/docs/dyn/compute_v1.regionHealthCheckServices.html +++ b/docs/dyn/compute_v1.regionHealthCheckServices.html @@ -95,6 +95,9 @@Instance Methods
patch(project, region, healthCheckService, body=None, requestId=None, x__xgafv=None)Updates the specified regional HealthCheckService resource
++
+testIamPermissions(project, region, resource, body=None, x__xgafv=None)Returns permissions that a caller has on the specified resource.
Method Details
+close()@@ -1369,4 +1372,38 @@Method Details
}++testIamPermissions(project, region, resource, body=None, x__xgafv=None)+Returns permissions that a caller has on the specified resource. + +Args: + project: string, Project ID for this request. (required) + region: string, The name of the region for this request. (required) + resource: string, Name or id of the resource for this request. (required) + body: object, The request body. + The object takes the form of: + +{ + "permissions": [ # The set of permissions to check for the 'resource'. Permissions with + # wildcards (such as '*' or 'storage.*') are not allowed. + "A String", + ], +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { + "permissions": [ # A subset of `TestPermissionsRequest.permissions` that the caller is + # allowed. + "A String", + ], +}+